tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r832004 - /tomcat/trunk/java/org/apache/catalina/deploy/
Date Mon, 02 Nov 2009 18:28:39 GMT
Author: markt
Date: Mon Nov  2 18:28:37 2009
New Revision: 832004

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

Modified:
    tomcat/trunk/java/org/apache/catalina/deploy/ApplicationParameter.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextEjb.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextEnvironment.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextHandler.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextLocalEjb.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextResource.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceEnvRef.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextService.java
    tomcat/trunk/java/org/apache/catalina/deploy/ContextTransaction.java
    tomcat/trunk/java/org/apache/catalina/deploy/ErrorPage.java
    tomcat/trunk/java/org/apache/catalina/deploy/FilterDef.java
    tomcat/trunk/java/org/apache/catalina/deploy/FilterMap.java
    tomcat/trunk/java/org/apache/catalina/deploy/LoginConfig.java
    tomcat/trunk/java/org/apache/catalina/deploy/MessageDestination.java
    tomcat/trunk/java/org/apache/catalina/deploy/MessageDestinationRef.java
    tomcat/trunk/java/org/apache/catalina/deploy/SecurityCollection.java
    tomcat/trunk/java/org/apache/catalina/deploy/SecurityConstraint.java
    tomcat/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ApplicationParameter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ApplicationParameter.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ApplicationParameter.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ApplicationParameter.java Mon Nov  2 18:28:37
2009
@@ -102,7 +102,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ApplicationParameter[");
+        StringBuilder sb = new StringBuilder("ApplicationParameter[");
         sb.append("name=");
         sb.append(name);
         if (description != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextEjb.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextEjb.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextEjb.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextEjb.java Mon Nov  2 18:28:37 2009
@@ -87,7 +87,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextEjb[");
+        StringBuilder sb = new StringBuilder("ContextEjb[");
         sb.append("name=");
         sb.append(getName());
         if (getDescription() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextEnvironment.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextEnvironment.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextEnvironment.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextEnvironment.java Mon Nov  2 18:28:37
2009
@@ -127,7 +127,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextEnvironment[");
+        StringBuilder sb = new StringBuilder("ContextEnvironment[");
         sb.append("name=");
         sb.append(name);
         if (description != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextHandler.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextHandler.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextHandler.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextHandler.java Mon Nov  2 18:28:37 2009
@@ -122,7 +122,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextHandler[");
+        StringBuilder sb = new StringBuilder("ContextHandler[");
         sb.append("name=");
         sb.append(getName());
         if (handlerclass != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextLocalEjb.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextLocalEjb.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextLocalEjb.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextLocalEjb.java Mon Nov  2 18:28:37
2009
@@ -86,7 +86,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextLocalEjb[");
+        StringBuilder sb = new StringBuilder("ContextLocalEjb[");
         sb.append("name=");
         sb.append(getName());
         if (getDescription() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextResource.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextResource.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextResource.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextResource.java Mon Nov  2 18:28:37
2009
@@ -73,7 +73,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextResource[");
+        StringBuilder sb = new StringBuilder("ContextResource[");
         sb.append("name=");
         sb.append(getName());
         if (getDescription() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceEnvRef.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceEnvRef.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceEnvRef.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceEnvRef.java Mon Nov  2 18:28:37
2009
@@ -57,7 +57,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextResourceEnvRef[");
+        StringBuilder sb = new StringBuilder("ContextResourceEnvRef[");
         sb.append("name=");
         sb.append(getName());
         if (getType() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextResourceLink.java Mon Nov  2 18:28:37
2009
@@ -68,7 +68,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextResourceLink[");
+        StringBuilder sb = new StringBuilder("ContextResourceLink[");
         sb.append("name=");
         sb.append(getName());
         if (getType() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextService.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextService.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextService.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextService.java Mon Nov  2 18:28:37 2009
@@ -198,7 +198,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ContextService[");
+        StringBuilder sb = new StringBuilder("ContextService[");
         sb.append("name=");
         sb.append(getName());
         if (getDescription() != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ContextTransaction.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ContextTransaction.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ContextTransaction.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ContextTransaction.java Mon Nov  2 18:28:37
2009
@@ -79,7 +79,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("Transaction[");
+        StringBuilder sb = new StringBuilder("Transaction[");
         sb.append("]");
         return (sb.toString());
 

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ErrorPage.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ErrorPage.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ErrorPage.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ErrorPage.java Mon Nov  2 18:28:37 2009
@@ -152,7 +152,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("ErrorPage[");
+        StringBuilder sb = new StringBuilder("ErrorPage[");
         if (exceptionType == null) {
             sb.append("errorCode=");
             sb.append(errorCode);

Modified: tomcat/trunk/java/org/apache/catalina/deploy/FilterDef.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/FilterDef.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/FilterDef.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/FilterDef.java Mon Nov  2 18:28:37 2009
@@ -168,7 +168,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("FilterDef[");
+        StringBuilder sb = new StringBuilder("FilterDef[");
         sb.append("filterName=");
         sb.append(this.filterName);
         sb.append(", filterClass=");

Modified: tomcat/trunk/java/org/apache/catalina/deploy/FilterMap.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/FilterMap.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/FilterMap.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/FilterMap.java Mon Nov  2 18:28:37 2009
@@ -233,7 +233,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("FilterMap[");
+        StringBuilder sb = new StringBuilder("FilterMap[");
         sb.append("filterName=");
         sb.append(this.filterName);
         for (int i = 0; i < servletNames.length; i++) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/LoginConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/LoginConfig.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/LoginConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/LoginConfig.java Mon Nov  2 18:28:37 2009
@@ -143,7 +143,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("LoginConfig[");
+        StringBuilder sb = new StringBuilder("LoginConfig[");
         sb.append("authMethod=");
         sb.append(authMethod);
         if (realmName != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/MessageDestination.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/MessageDestination.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/MessageDestination.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/MessageDestination.java Mon Nov  2 18:28:37
2009
@@ -113,7 +113,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("MessageDestination[");
+        StringBuilder sb = new StringBuilder("MessageDestination[");
         sb.append("name=");
         sb.append(name);
         if (displayName != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/MessageDestinationRef.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/MessageDestinationRef.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/MessageDestinationRef.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/MessageDestinationRef.java Mon Nov  2 18:28:37
2009
@@ -127,7 +127,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("MessageDestination[");
+        StringBuilder sb = new StringBuilder("MessageDestination[");
         sb.append("name=");
         sb.append(name);
         if (link != null) {

Modified: tomcat/trunk/java/org/apache/catalina/deploy/SecurityCollection.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/SecurityCollection.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/SecurityCollection.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/SecurityCollection.java Mon Nov  2 18:28:37
2009
@@ -317,7 +317,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("SecurityCollection[");
+        StringBuilder sb = new StringBuilder("SecurityCollection[");
         sb.append(name);
         if (description != null) {
             sb.append(", ");

Modified: tomcat/trunk/java/org/apache/catalina/deploy/SecurityConstraint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/SecurityConstraint.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/SecurityConstraint.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/SecurityConstraint.java Mon Nov  2 18:28:37
2009
@@ -383,7 +383,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("SecurityConstraint[");
+        StringBuilder sb = new StringBuilder("SecurityConstraint[");
         for (int i = 0; i < collections.length; i++) {
             if (i > 0)
                 sb.append(", ");

Modified: tomcat/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java?rev=832004&r1=832003&r2=832004&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/SecurityRoleRef.java Mon Nov  2 18:28:37
2009
@@ -72,7 +72,7 @@
      */
     public String toString() {
 
-        StringBuffer sb = new StringBuffer("SecurityRoleRef[");
+        StringBuilder sb = new StringBuilder("SecurityRoleRef[");
         sb.append("name=");
         sb.append(name);
         if (link != null) {



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


Mime
View raw message