src/share/classes/java/rmi/dgc/VMID.java

Print this page

        

@@ -116,11 +116,11 @@
      */
     public String toString() {
         StringBuffer result = new StringBuffer();
         if (addr != null)
             for (int i = 0; i < addr.length; ++ i) {
-                int x = (int) (addr[i] & 0xFF);
+                int x = addr[i] & 0xFF;
                 result.append((x < 0x10 ? "0" : "") +
                               Integer.toString(x, 16));
             }
         result.append(':');
         result.append(uid.toString());