* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.system.adapters;
import org.wamblee.collections.CollectionFilter;
*
*/
public SetterConfiguration add(final String aName) {
- int oldlen = setters.size();
List<Method> methods = new ArrayList<Method>();
CollectionFilter.filter(getAllSetters(clazz, publicOnly), methods,
new Condition<Method>() {
}
if (result.size() > 1) {
- String setters = "";
+ StringBuffer setters = new StringBuffer();
for (Method method : result) {
- setters += (method.getName() + " ");
+ setters.append((method.getName() + " "));
}
throw new IllegalArgumentException(