Skip to content

Commit

Permalink
Javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amaembo committed Feb 14, 2020
1 parent 88e19f3 commit 23bbe25
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
* This annotation also could be used as a meta-annotation, to define other annotations for convenience.
* E.g. the following annotation could be defined to annotate the strings that represent Java methods:
*
* <pre>{@code
* @Language(value = "JAVA", prefix = "class X{", suffix = "}")
* @interface JavaMethod {}}</pre>
* <pre>
* &#64;Language(value = "JAVA", prefix = "class X{", suffix = "}")
* &#64;interface JavaMethod {}
* </pre>
*/
@Retention(RetentionPolicy.CLASS)
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
* This annotation also could be used as a meta-annotation, to define other annotations for convenience.
* E.g. the following annotation could be defined to annotate the strings that represent UUIDs:
*
* <pre>{@code
* @Pattern("[\\dA-Fa-f]{8}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{12}")
* @interface UUID {}}</pre>
* <pre>
* &#64;Pattern("[\\dA-Fa-f]{8}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{12}")
* &#64;interface UUID {}
* </pre>
*
* @see RegExp
*/
Expand Down
2 changes: 0 additions & 2 deletions common/src/main/java/org/jetbrains/annotations/NonNls.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
* <li>If a package is annotated with {@code NonNls}, all string literals in
* the package and all its subpackages are not reported as requiring localization.</li>
* </ul>
*
* @see Nls
*/
@Documented
@Retention(RetentionPolicy.CLASS)
Expand Down

0 comments on commit 23bbe25

Please sign in to comment.