All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.commons.lang.StringBuilderUtils Maven / Gradle / Ivy

There is a newer version: 4.0-beta-1
Show newest version
package org.nakedobjects.metamodel.commons.lang;

public class StringBuilderUtils {

    public static void appendBuf(final StringBuilder buf, final String formatString, final Object... args) {
        buf.append(String.format(formatString, args));
    }

    /**
     * @deprecated - use a {@link StringBuilder} instead!
     */
    @Deprecated
    public static void appendBuf(final StringBuffer buf, final String formatString, final Object... args) {
        buf.append(String.format(formatString, args));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy