Skip to content

Commit 6a732ec

Browse files
authored
Merge pull request #704 from niranjanib/fix-javadoc-not-visible-in-website
move javadoc comments above the interface definition to make it visible
2 parents 98df354 + c798c76 commit 6a732ec

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/org/json/JSONPropertyIgnore.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
import java.lang.annotation.Retention;
1212
import java.lang.annotation.Target;
1313

14-
@Documented
15-
@Retention(RUNTIME)
16-
@Target({METHOD})
1714
/**
1815
* Use this annotation on a getter method to override the Bean name
1916
* parser for Bean -> JSONObject mapping. If this annotation is
2017
* present at any level in the class hierarchy, then the method will
2118
* not be serialized from the bean into the JSONObject.
2219
*/
20+
@Documented
21+
@Retention(RUNTIME)
22+
@Target({METHOD})
2323
public @interface JSONPropertyIgnore { }

src/main/java/org/json/JSONPropertyName.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
import java.lang.annotation.Retention;
1212
import java.lang.annotation.Target;
1313

14-
@Documented
15-
@Retention(RUNTIME)
16-
@Target({METHOD})
1714
/**
1815
* Use this annotation on a getter method to override the Bean name
1916
* parser for Bean -&gt; JSONObject mapping. A value set to empty string <code>""</code>
2017
* will have the Bean parser fall back to the default field name processing.
2118
*/
19+
@Documented
20+
@Retention(RUNTIME)
21+
@Target({METHOD})
2222
public @interface JSONPropertyName {
2323
/**
2424
* @return The name of the property as to be used in the JSON Object.

0 commit comments

Comments
 (0)