harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r784679 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java
Date Mon, 15 Jun 2009 07:48:27 GMT
Author: regisxu
Date: Mon Jun 15 07:48:27 2009
New Revision: 784679

URL: http://svn.apache.org/viewvc?rev=784679&view=rev
Log:
use StringBuilder instead of StringBuffer for local variable in SocketPermission.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java?rev=784679&r1=784678&r2=784679&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketPermission.java
Mon Jun 15 07:48:27 2009
@@ -360,7 +360,7 @@
             return actionNames[SP_RESOLVE]; // If none specified return the
         }
         // implied action resolve
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         if ((actionsMask & SP_CONNECT) == SP_CONNECT) {
             sb.append(',');
             sb.append(actionNames[SP_CONNECT]);



Mime
View raw message