tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r832022 - in /tomcat/trunk/java/org/apache/catalina/users: MemoryGroup.java MemoryRole.java MemoryUser.java MemoryUserDatabase.java
Date Mon, 02 Nov 2009 18:38:00 GMT
Author: markt
Date: Mon Nov  2 18:38:00 2009
New Revision: 832022

URL: http://svn.apache.org/viewvc?rev=832022&view=rev
Log:
StringBuffer -> StringBuilder for o.a.c.users

Modified:
    tomcat/trunk/java/org/apache/catalina/users/MemoryGroup.java
    tomcat/trunk/java/org/apache/catalina/users/MemoryRole.java
    tomcat/trunk/java/org/apache/catalina/users/MemoryUser.java
    tomcat/trunk/java/org/apache/catalina/users/MemoryUserDatabase.java

Modified: tomcat/trunk/java/org/apache/catalina/users/MemoryGroup.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/users/MemoryGroup.java?rev=832022&r1=832021&r2=832022&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/users/MemoryGroup.java (original)
+++ tomcat/trunk/java/org/apache/catalina/users/MemoryGroup.java Mon Nov  2 18:38:00 2009
@@ -183,7 +183,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("<group groupname=\"");
+        StringBuilder sb = new StringBuilder("<group groupname=\"");
         sb.append(groupname);
         sb.append("\"");
         if (description != null) {

Modified: tomcat/trunk/java/org/apache/catalina/users/MemoryRole.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/users/MemoryRole.java?rev=832022&r1=832021&r2=832022&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/users/MemoryRole.java (original)
+++ tomcat/trunk/java/org/apache/catalina/users/MemoryRole.java Mon Nov  2 18:38:00 2009
@@ -86,7 +86,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("<role rolename=\"");
+        StringBuilder sb = new StringBuilder("<role rolename=\"");
         sb.append(rolename);
         sb.append("\"");
         if (description != null) {

Modified: tomcat/trunk/java/org/apache/catalina/users/MemoryUser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/users/MemoryUser.java?rev=832022&r1=832021&r2=832022&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/users/MemoryUser.java (original)
+++ tomcat/trunk/java/org/apache/catalina/users/MemoryUser.java Mon Nov  2 18:38:00 2009
@@ -248,7 +248,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("<user username=\"");
+        StringBuilder sb = new StringBuilder("<user username=\"");
         sb.append(RequestUtil.filter(username));
         sb.append("\" password=\"");
         sb.append(RequestUtil.filter(password));

Modified: tomcat/trunk/java/org/apache/catalina/users/MemoryUserDatabase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/users/MemoryUserDatabase.java?rev=832022&r1=832021&r2=832022&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/users/MemoryUserDatabase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/users/MemoryUserDatabase.java Mon Nov  2 18:38:00
2009
@@ -610,7 +610,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("MemoryUserDatabase[id=");
+        StringBuilder sb = new StringBuilder("MemoryUserDatabase[id=");
         sb.append(this.id);
         sb.append(",pathname=");
         sb.append(pathname);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message