Suppress Version.nextVersion() warning 43/28243/2
authorRobert Varga <rovarga@cisco.com>
Fri, 9 Oct 2015 16:31:27 +0000 (18:31 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 12 Oct 2015 08:53:49 +0000 (08:53 +0000)
The method could be static based on the currect implementation, but we
want to keep it an instance-method.

Change-Id: Ibb604f1038e6df9a6731504af67dc7d960dee6bf
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/spi/Version.java

index c1243bd6e6479cc4df6f0246861f22e30925d828..759c72c4b04f13ffcd96012a8e2502a907d86263 100644 (file)
@@ -22,6 +22,7 @@ public final class Version {
      *
      * @return a new version.
      */
+    @SuppressWarnings("static-method")
     public Version next() {
         return new Version();
     }