cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r915580 - /incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java
Date Tue, 23 Feb 2010 23:15:38 GMT
Author: jbellis
Date: Tue Feb 23 23:15:38 2010
New Revision: 915580

URL: http://svn.apache.org/viewvc?rev=915580&view=rev
Log:
make InetAddress volatile.  patch by gabriele renzi; reviewed by jbellis for CASSANDRA-828

Modified:
    incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java

Modified: incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java?rev=915580&r1=915579&r2=915580&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java
(original)
+++ incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/utils/FBUtilities.java
Tue Feb 23 23:15:38 2010
@@ -50,7 +50,7 @@
 
     public static final BigInteger TWO = new BigInteger("2");
 
-    private static InetAddress localInetAddress_;
+    private static volatile InetAddress localInetAddress_;
 
     public static String[] strip(String string, String token)
     {



Mime
View raw message