Fix Javadoc deprecation links 37/94537/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 9 Jan 2021 07:33:29 +0000 (08:33 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 9 Jan 2021 08:26:44 +0000 (09:26 +0100)
There is a typo in specification of the reference, leading to
this bit being rendered without a link. Fix that.

Change-Id: Id58978511ef601471d76e8a8f962df96f2e26a4f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 40d9da9d71a301c6df20899cb6082658a4361781)

binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/BuilderTemplate.xtend
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/ClassTemplate.xtend

index f70787d07d48e5d998d14e997b9d7c1fcac4a767..5481e01c6e806bc49ae06a7317080000e2bd4994 100644 (file)
@@ -384,7 +384,7 @@ class BuilderTemplate extends AbstractBuilderTemplate {
           * @return this builder
           * @throws IllegalArgumentException if the list contains entries with the same key
           * @throws NullPointerException if the list contains a null entry
-          * @deprecated Use {#link #«setterName»(«JU_MAP.importedName»)} instead.
+          * @deprecated Use {@link #«setterName»(«JU_MAP.importedName»)} instead.
           */
         @«DEPRECATED.importedName»(forRemoval = true)
         public «type.getName» «setterName»(final «JU_LIST.importedName»<«actualTypeRef»> values) {
@@ -417,7 +417,7 @@ class BuilderTemplate extends AbstractBuilderTemplate {
              *
              * @param value field value in legacy type
              * @return this builder
-             * @deprecated Use {#link «setterName»(«field.returnType.importedJavadocName»)} instead.
+             * @deprecated Use {@link #«setterName»(«field.returnType.importedJavadocName»)} instead.
              */
             @Deprecated(forRemoval = true)
             public «type.getName» «setterName»(final «uintType.importedName» value) {
index 15cc1c2adc9334ba76335536751e18f8b33fffbc..faadb1aefe04a1be1f6b65a69b8cdad6ad0575a9 100644 (file)
@@ -328,7 +328,7 @@ class ClassTemplate extends BaseTemplate {
              «FOR prop : allProperties»
              * @param «prop.fieldName» «prop.name»«IF prop.isUintType» in legacy Java type«ENDIF»
              «ENDFOR»
-             * @deprecated Use {#link «type.name»(«FOR prop : allProperties SEPARATOR ", "»«prop.returnType.importedJavadocName»«ENDFOR»)} instead.
+             * @deprecated Use {@link #«type.name»(«FOR prop : allProperties SEPARATOR ", "»«prop.returnType.importedJavadocName»«ENDFOR»)} instead.
              */
             @Deprecated(forRemoval = true)
             public «type.getName»(«FOR prop : allProperties SEPARATOR ", "»«prop.legacyType.importedName» «prop.fieldName»«ENDFOR») {