Sho SHIMIZU
Committed by Sho Shimizu

Make DiscreteResourceCodecs package private

Change-Id: I4db1440729ce78e4fd64d3fe43e942f6d39e779c
(cherry picked from commit 078b6b81)
...@@ -23,7 +23,7 @@ import org.onosproject.net.resource.DiscreteResourceCodec; ...@@ -23,7 +23,7 @@ import org.onosproject.net.resource.DiscreteResourceCodec;
23 * Codec for MplsLabel. 23 * Codec for MplsLabel.
24 */ 24 */
25 @Beta 25 @Beta
26 -public final class MplsCodec implements DiscreteResourceCodec<MplsLabel> { 26 +final class MplsCodec implements DiscreteResourceCodec<MplsLabel> {
27 @Override 27 @Override
28 public int encode(MplsLabel resource) { 28 public int encode(MplsLabel resource) {
29 return resource.toInt(); 29 return resource.toInt();
......
...@@ -23,7 +23,7 @@ import org.onosproject.net.resource.DiscreteResourceCodec; ...@@ -23,7 +23,7 @@ import org.onosproject.net.resource.DiscreteResourceCodec;
23 * Codec for Vlan. 23 * Codec for Vlan.
24 */ 24 */
25 @Beta 25 @Beta
26 -public final class VlanCodec implements DiscreteResourceCodec<VlanId> { 26 +final class VlanCodec implements DiscreteResourceCodec<VlanId> {
27 @Override 27 @Override
28 public int encode(VlanId resource) { 28 public int encode(VlanId resource) {
29 return resource.toShort(); 29 return resource.toShort();
......