X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fcore%2FDefaultProvidedInterface.java;h=1297d363b7337e23599424a5a0ba2b28983a62bc;hb=9573613928f58ec9333b900187731408d5eb4f9f;hp=cf97a5cb26d1c9d6242e3256b96b4ac192cc0060;hpb=539c6d91b7a34e32c6669445d00e9275c337530a;p=utils diff --git a/system/general/src/main/java/org/wamblee/system/core/DefaultProvidedInterface.java b/system/general/src/main/java/org/wamblee/system/core/DefaultProvidedInterface.java index cf97a5cb..1297d363 100644 --- a/system/general/src/main/java/org/wamblee/system/core/DefaultProvidedInterface.java +++ b/system/general/src/main/java/org/wamblee/system/core/DefaultProvidedInterface.java @@ -1,12 +1,12 @@ /* - * Copyright 2007 the original author or authors. - * + * Copyright 2005-2010 the original author or authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -109,12 +109,12 @@ public class DefaultProvidedInterface implements ProvidedInterface { Collections.sort(result); - String value = ""; + StringBuffer value = new StringBuffer(); for (String str : result) { - value += (":" + str); + value.append(":" + str); } - return value; + return value.toString(); } }