ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/SplittableRandom.java
(Generate patch)

Comparing jsr166/src/main/java/util/SplittableRandom.java (file contents):
Revision 1.16 by dl, Tue Aug 13 17:13:57 2013 UTC vs.
Revision 1.17 by jsr166, Tue Aug 13 23:34:47 2013 UTC

# Line 230 | Line 230 | public class SplittableRandom {
230       * Returns hash of local host IP address, if available; else 0.
231       */
232      private static int hashedHostAddress() {
233 <        try {
234 <            return InetAddress.getLocalHost().hashCode();
235 <        } catch (Exception ex) {
236 <            return 0;
237 <        }
233 >        try {
234 >            return InetAddress.getLocalHost().hashCode();
235 >        } catch (Exception ex) {
236 >            return 0;
237 >        }
238      }
239  
240      // IllegalArgumentException messages

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines