Reduce visibility of codec methods
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / codec / Int8StringCodec.java
index 5c477929e3ab0c4e098a9b082f9ae84e05aacee5..fd938ed99a70ef84948cd394bf8bd55372683cb7 100644 (file)
@@ -20,7 +20,7 @@ final class Int8StringCodec extends AbstractIntegerStringCodec<Byte, IntegerType
     }
 
     @Override
-    public Byte deserialize(final String stringRepresentation, final int base) {
+    Byte deserialize(final String stringRepresentation, final int base) {
         return Byte.valueOf(stringRepresentation, base);
     }
 
@@ -30,7 +30,7 @@ final class Int8StringCodec extends AbstractIntegerStringCodec<Byte, IntegerType
     }
 
     @Override
-    protected Byte convertValue(final Number value) {
+    Byte convertValue(final Number value) {
         return value.byteValue();
     }
 }