Make public fields final where possible
[vpp.git] / vpp-japi / japi / org / openvpp / vppjapi / vppIPv6Address.java
index efaa89c..7bf10f2 100644 (file)
@@ -16,8 +16,9 @@
 package org.openvpp.vppjapi;
 
 public class vppIPv6Address {
-    public byte[] ip;
-    public byte prefixLength;
+    // FIXME: this is dangerous
+    public final byte[] ip;
+    public final byte prefixLength;
 
     public vppIPv6Address(byte[] _ip, byte _prefixLength) {
         ip = _ip;