Reduce visibility of codec methods
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / codec / Int16StringCodec.java
index 1f52f0b4cd3cbfb5e6fb6d988c0de5e2abb64aa4..0493f8b8bdb0f94000b874434cc4e0657dd8be3e 100644 (file)
@@ -19,7 +19,7 @@ final class Int16StringCodec extends AbstractIntegerStringCodec<Short, IntegerTy
     }
 
     @Override
-    public Short deserialize(final String stringRepresentation, final int base) {
+    Short deserialize(final String stringRepresentation, final int base) {
         return Short.valueOf(stringRepresentation, base);
     }
 
@@ -29,7 +29,7 @@ final class Int16StringCodec extends AbstractIntegerStringCodec<Short, IntegerTy
     }
 
     @Override
-    protected Short convertValue(final Number value) {
+    Short convertValue(final Number value) {
         return value.shortValue();
     }
 }