Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7200c5

Browse files
author
zhourenjian@gmail.com
committed
Fixed bug of generating incorrect@deprecate lines
1 parentb2c3e43 commitf7200c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎sources/net.sf.j2s.ajax/generator/net/sf/j2s/ajax/SimpleSource4ObjectiveC.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ private static String wrapString(String s) {
4848
privatestaticvoidgenerateAnnotation(Class<?>clazz,StringBuffersource) {
4949
DeprecatedannDeprecated =clazz.getAnnotation(Deprecated.class);
5050
if (annDeprecated !=null) {
51-
source.append("@");
52-
source.append(annDeprecated.annotationType().getSimpleName());
51+
source.append("// [deprecated]\r\n");
5352
source.append("\r\n");
5453
}
5554
SimpleCommentannComment =clazz.getAnnotation(SimpleComment.class);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp