Fix gh-java-annotations links

This commit is contained in:
Karol Lewandowski 2024-05-10 09:05:03 +02:00
parent 26a2483468
commit acd3a28f8d
2 changed files with 6 additions and 4 deletions

View File

@ -25,9 +25,9 @@ Another example is inspecting whether a given string value is properly capitaliz
> - <ui-path>Properties files</ui-path> > - <ui-path>Properties files</ui-path>
Consider using the following annotations: Consider using the following annotations:
- [`@Nls`](%gh-java-annotations%java-annotations/src/main/java/org/jetbrains/annotations/Nls.java) - for NLS strings. - [`@Nls`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/Nls.java) - for NLS strings.
The `capitalization` attribute allows to specify required capitalization. The `capitalization` attribute allows to specify required capitalization.
- [`@NonNls`](%gh-java-annotations%java-annotations/src/main/java/org/jetbrains/annotations/NonNls.java) - for non-NLS strings - [`@NonNls`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/NonNls.java) - for non-NLS strings
- [`@NlsSafe`](%gh-ic%/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java) - for NLS-safe strings - [`@NlsSafe`](%gh-ic%/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java) - for NLS-safe strings
### NLS Context Annotations ### NLS Context Annotations
@ -132,7 +132,7 @@ final class ExampleBundle {
Do not extend `DynamicBundle` in bundle classes. Do not extend `DynamicBundle` in bundle classes.
Annotating message key parameter with [`@PropertyKey`](%gh-java-annotations%/java-annotations/src/main/java/org/jetbrains/annotations/PropertyKey.java) adds the IDE support in the client code, e.g., reporting unresolved message keys. Annotating message key parameter with [`@PropertyKey`](%gh-java-annotations%/common/src/main/java/org/jetbrains/annotations/PropertyKey.java) adds the IDE support in the client code, e.g., reporting unresolved message keys.
### Moving Strings to Message Bundles ### Moving Strings to Message Bundles

4
v.list
View File

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<!DOCTYPE vars <!DOCTYPE vars
SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd"> SYSTEM "https://resources.jetbrains.com/writerside/1.0/vars.dtd">
@ -18,7 +20,7 @@
<var name="gh-ij-plugins-master" value="https://github.com/JetBrains/intellij-plugins/tree/master"/> <var name="gh-ij-plugins-master" value="https://github.com/JetBrains/intellij-plugins/tree/master"/>
<var name="gh-jcef" value="https://github.com/JetBrains/jcef/tree/master/java"/> <var name="gh-jcef" value="https://github.com/JetBrains/jcef/tree/master/java"/>
<var name="gh-java-annotations" value="https://github.com/JetBrains/java-annotations/tree/master/"/> <var name="gh-java-annotations" value="https://github.com/JetBrains/java-annotations/tree/24.0.0"/>
<var name="gh-ijpgp" value="https://github.com/JetBrains/gradle-intellij-plugin/blob/2.0"/> <var name="gh-ijpgp" value="https://github.com/JetBrains/gradle-intellij-plugin/blob/2.0"/>
<var name="gh-pv" value="https://github.com/JetBrains/intellij-plugin-verifier/blob/master"/> <var name="gh-pv" value="https://github.com/JetBrains/intellij-plugin-verifier/blob/master"/>