cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r835069 [2/2] - in /cxf/branches/2.2.x-fixes: ./ api/src/main/java/org/apache/cxf/jca/outbound/ api/src/main/java/org/apache/cxf/service/model/ api/src/main/java/org/apache/cxf/tools/validator/ api/src/main/java/org/apache/cxf/wsdl/ benchma...
Date Wed, 11 Nov 2009 21:11:55 GMT
Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/BadUsageException.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/BadUsageException.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/BadUsageException.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/BadUsageException.java
Wed Nov 11 21:11:30 2009
@@ -47,7 +47,7 @@
     }
 
     public String getMessage() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
 
         if (errors != null) {
             sb.append(errors.toString());

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
Wed Nov 11 21:11:30 2009
@@ -75,7 +75,7 @@
     public CommandDocument parseArguments(String[] args) throws BadUsageException {
 
         if (LOG.isLoggable(Level.FINE)) {
-            StringBuffer debugMsg = new StringBuffer("Parsing arguments: ");
+            StringBuilder debugMsg = new StringBuilder("Parsing arguments: ");
 
             for (int i = 0; i < args.length; i++) {
                 debugMsg.append(args[i]).append(" ");
@@ -246,7 +246,7 @@
             originalStrs[i] = str;
             i++;
         }
-        StringBuffer strbuffer = new StringBuffer();
+        StringBuilder strbuffer = new StringBuilder();
         for (int j = 0; j < length - 1; j = j + 2) {
             int optionLen = originalStrs[j].length();
             addWhiteNamespace(strbuffer, beforeOptSpan);
@@ -292,7 +292,7 @@
 
         return strbuffer.toString();
     }
-    private int splitAndAppendText(StringBuffer buffer, String tmpStr, int idx, int lastIdx)
{
+    private int splitAndAppendText(StringBuilder buffer, String tmpStr, int idx, int lastIdx)
{
         int origLast = lastIdx;
         while (lastIdx > idx && !Character.isWhitespace(tmpStr.charAt(lastIdx)))
{
             --lastIdx;
@@ -308,7 +308,7 @@
         return lastIdx;
     }
 
-    private void addWhiteNamespace(StringBuffer strbuffer, int count) {
+    private void addWhiteNamespace(StringBuilder strbuffer, int count) {
 
         for (int i = 0; i < count; i++) {
             strbuffer.append(" ");

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/ErrorVisitor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/ErrorVisitor.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/ErrorVisitor.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/ErrorVisitor.java
Wed Nov 11 21:11:30 2009
@@ -180,7 +180,7 @@
     }
 
     public String toString() {
-        StringBuffer res = new StringBuffer();
+        StringBuilder res = new StringBuilder();
 
         for (Iterator it = errors.iterator(); it.hasNext();) {
             res.append(it.next().toString()).append(System.getProperty("line.separator"));

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/TokenInputStream.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/TokenInputStream.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/TokenInputStream.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/TokenInputStream.java
Wed Nov 11 21:11:30 2009
@@ -107,7 +107,7 @@
     }
 
     public String toString() {
-        StringBuffer sb = new StringBuffer("[ ");
+        StringBuilder sb = new StringBuilder("[ ");
 
         for (int i = pos; i < tokens.length; i++) {
             sb.append(tokens[i]);

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/AnnotationUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/AnnotationUtil.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/AnnotationUtil.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/AnnotationUtil.java
Wed Nov 11 21:11:30 2009
@@ -87,7 +87,7 @@
 
     private static String getClassPath() {
         ClassLoader loader = AnnotationUtil.class.getClassLoader();
-        StringBuffer classpath = new StringBuffer(System.getProperty("java.class.path"));
+        StringBuilder classpath = new StringBuilder(System.getProperty("java.class.path"));
         if (loader instanceof URLClassLoader) {
             URLClassLoader urlloader = (URLClassLoader)loader;
             for (URL url : urlloader.getURLs()) {

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/URIParserUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/URIParserUtil.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/URIParserUtil.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/URIParserUtil.java
Wed Nov 11 21:11:30 2009
@@ -151,7 +151,7 @@
                 tokens[i] = tokenizer.nextToken();
             }
         }
-        StringBuffer namespace = new StringBuffer("http://");
+        StringBuilder namespace = new StringBuilder("http://");
         String dot = "";
         for (int i = 0; i < tokens.length; i++) {
             if (i == 1) {
@@ -174,7 +174,7 @@
     }
 
     private static String removeIllegalIdentifierChars(String token) {
-        StringBuffer newToken = new StringBuffer();
+        StringBuilder newToken = new StringBuilder();
         for (int i = 0; i < token.length(); i++) {
             char c = token.charAt(i);
 

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlAnonSequence.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlAnonSequence.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlAnonSequence.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlAnonSequence.java
Wed Nov 11 21:11:30 2009
@@ -52,7 +52,7 @@
     }    
 
     private String seqName(String name) {
-        StringBuffer str = new StringBuffer();
+        StringBuilder str = new StringBuilder();
         str.append("sequence<" + name);
 
         int bnd = bound();

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlDefnImplBase.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlDefnImplBase.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlDefnImplBase.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlDefnImplBase.java
Wed Nov 11 21:11:30 2009
@@ -25,7 +25,7 @@
 
 
 public abstract class IdlDefnImplBase implements IdlDefn {
-    private static StringBuffer indent = new StringBuffer();
+    private static StringBuilder indent = new StringBuilder();
     private IdlScopeBase parent;
     private IdlScopedName name;
 

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlScopedName.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlScopedName.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlScopedName.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/idltypes/IdlScopedName.java
Wed Nov 11 21:11:30 2009
@@ -53,7 +53,7 @@
             return fullName();
         }
 
-        StringBuffer nm = new StringBuffer(fullName);
+        StringBuilder nm = new StringBuilder(fullName);
         String rel = relativeTo.fullName() + ToolCorbaConstants.MODULE_SEPARATOR;
 
         if (fullName.indexOf(rel) == 0) {

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/Scope.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/Scope.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/Scope.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/Scope.java
Wed Nov 11 21:11:30 2009
@@ -93,7 +93,7 @@
     }
     
     public String toString(String separator) {
-        StringBuffer result = new StringBuffer();
+        StringBuilder result = new StringBuilder();
         Iterator<String> it = scope.iterator();
         while (it.hasNext()) {
             result.append(it.next());
@@ -109,7 +109,7 @@
     }
 
     public String toIDLRepositoryID() {
-        StringBuffer result = new StringBuffer();
+        StringBuilder result = new StringBuilder();
         result.append(CorbaConstants.REPO_STRING);
         result.append(toString("/"));
         result.append(CorbaConstants.IDL_VERSION);

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
Wed Nov 11 21:11:30 2009
@@ -83,7 +83,7 @@
         Integer id = 0;
         do {
             id++;
-            StringBuffer name = new StringBuffer();
+            StringBuilder name = new StringBuilder();
             name.append("_");
             name.append("Anon" + id.toString());
             name.append("_");

Modified: cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
Wed Nov 11 21:11:30 2009
@@ -209,7 +209,7 @@
     }
     
     private void throwMultipleMultipleTypeException(Map binds) throws Exception {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         org.apache.cxf.common.i18n.Message msgDef = 
             new org.apache.cxf.common.i18n.Message("Multiple Bindings already defined in
the wsdl", LOG);
         sb.append(msgDef.toString());

Modified: cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/SchemaValidator.java
Wed Nov 11 21:11:30 2009
@@ -267,7 +267,7 @@
 class NewStackTraceErrorHandler implements ErrorHandler {
     protected boolean valid;
 
-    private StringBuffer buffer;
+    private StringBuilder buffer;
 
     private int numErrors;
 
@@ -276,7 +276,7 @@
     NewStackTraceErrorHandler() {
         valid = true;
         numErrors = 0;
-        buffer = new StringBuffer();
+        buffer = new StringBuilder();
         errors = new ArrayList<SAXParseException>();
     }
 

Modified: cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/ValidationResult.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/ValidationResult.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/ValidationResult.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/ValidationResult.java
Wed Nov 11 21:11:30 2009
@@ -60,7 +60,7 @@
     }
 
     public String toString() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append("\n Summary: ");
         sb.append(" Failures: ");
         sb.append(errors.size());

Modified: cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XDef.java
Wed Nov 11 21:11:30 2009
@@ -35,7 +35,7 @@
 
     @Override
     public String getText() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append("{");
         sb.append(getAttributeValue());
         sb.append("}");

Modified: cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/model/XNode.java
Wed Nov 11 21:11:30 2009
@@ -99,7 +99,7 @@
     }
 
     public String getText() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append("[");
         sb.append(name.getLocalPart());
         sb.append(":");
@@ -109,7 +109,7 @@
     }
 
     public String getPlainText() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         Stack<XNode> parentNodes = getParentNodes();
         while (!parentNodes.empty()) {
             sb.append(parentNodes.pop().getText());
@@ -120,7 +120,7 @@
     }
 
     public String getXPath() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append("/");
         sb.append(prefix);
         sb.append(":");
@@ -157,7 +157,7 @@
 
     public String toString() {
         Stack<XNode> parentNodes = getParentNodes();
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         while (!parentNodes.empty()) {
             sb.append(parentNodes.pop().getXPath());
         }

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
Wed Nov 11 21:11:30 2009
@@ -449,7 +449,7 @@
 
     }
     private String getPluginUsageString(Options opts) {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         buf.append("\navaliable plugin options:\n");
         for (Plugin pl : opts.getAllPlugins()) {
             buf.append(pl.getUsage());

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
Wed Nov 11 21:11:30 2009
@@ -329,7 +329,7 @@
                 response = mappedClass.getName();
             }
         }
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append(clzName);
         sb.append("<");
         if ("void".equals(response)) {

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ProcessorUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ProcessorUtil.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ProcessorUtil.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ProcessorUtil.java
Wed Nov 11 21:11:30 2009
@@ -282,7 +282,7 @@
     }
 
     private static String escapeSpace(String url) {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         for (int i = 0; i < url.length(); i++) {
             if (url.charAt(i) == ' ') {
                 buf.append("%20");

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/AbstractWSDLToProcessor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/AbstractWSDLToProcessor.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/AbstractWSDLToProcessor.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/AbstractWSDLToProcessor.java
Wed Nov 11 21:11:30 2009
@@ -125,7 +125,7 @@
 
     
     public WSDLExtensibilityPlugin getWSDLPlugin(final String key, final Class clz) {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append(key);
         sb.append("-");
         sb.append(clz.getName());

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/AddressFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/AddressFactory.java?rev=835069&r1=835068&r2=835069&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/AddressFactory.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/processor/address/AddressFactory.java
Wed Nov 11 21:11:30 2009
@@ -49,7 +49,7 @@
             return address;
         }
 
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         sb.append(PREFIX);
         sb.append(".");
         sb.append(NameUtil.capitalize(name));



Mime
View raw message