package com.akm.http.util;

import static java.util.Locale.ENGLISH;

import org.apache.http.util.TextUtils;

/**
 * String utility functions.
 *
 * @since 0.7
 * @author Amir
 */
public final class StringUtil {
    /**
     * Returns a copy of the given string with the first letter capitalized.
     *
     * @param str
     *            the string to capitalize
     * @return the capitalized string
     */
    public static String capitalize(final String str) {
        if (TextUtils.isBlank(str)) {
            throw new IllegalArgumentException(
                    "cannot capitalize blank string");
        }

        return str.substring(0, 1).toUpperCase(ENGLISH) + str.substring(1);
    }

    private StringUtil() {}
}

@@ -28,23 +28,16 @@
 %0Aimport 
-static 
 java.uti
@@ -48,16 +48,8 @@
 cale
-.ENGLISH
 ;%0A%0Ai
@@ -643,16 +643,23 @@
 perCase(
+Locale.
 ENGLISH)
@@ -660,16 +660,32 @@
 GLISH) +
+%0A               
  str.sub

Remove static import