Skip to content

Commit 23bbe25

Browse files
committed
Javadoc fixes
1 parent 88e19f3 commit 23bbe25

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

common/src/main/java/org/intellij/lang/annotations/Language.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
* This annotation also could be used as a meta-annotation, to define other annotations for convenience.
3434
* E.g. the following annotation could be defined to annotate the strings that represent Java methods:
3535
*
36-
* <pre>{@code
37-
* @Language(value = "JAVA", prefix = "class X{", suffix = "}")
38-
* @interface JavaMethod {}}</pre>
36+
* <pre>
37+
* &#64;Language(value = "JAVA", prefix = "class X{", suffix = "}")
38+
* &#64;interface JavaMethod {}
39+
* </pre>
3940
*/
4041
@Retention(RetentionPolicy.CLASS)
4142
@Target({ METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE })

common/src/main/java/org/intellij/lang/annotations/Pattern.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
* This annotation also could be used as a meta-annotation, to define other annotations for convenience.
3131
* E.g. the following annotation could be defined to annotate the strings that represent UUIDs:
3232
*
33-
* <pre>{@code
34-
* @Pattern("[\\dA-Fa-f]{8}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{12}")
35-
* @interface UUID {}}</pre>
33+
* <pre>
34+
* &#64;Pattern("[\\dA-Fa-f]{8}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{4}-[\\dA-Fa-f]{12}")
35+
* &#64;interface UUID {}
36+
* </pre>
3637
*
3738
* @see RegExp
3839
*/

common/src/main/java/org/jetbrains/annotations/NonNls.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
* <li>If a package is annotated with {@code NonNls}, all string literals in
4545
* the package and all its subpackages are not reported as requiring localization.</li>
4646
* </ul>
47-
*
48-
* @see Nls
4947
*/
5048
@Documented
5149
@Retention(RetentionPolicy.CLASS)

0 commit comments

Comments
 (0)