src/com/gitblit/utils/StringUtils.java
@@ -169,16 +169,6 @@ } /** * Returns a trimmed shortlog message. * * @param string * @return trimmed shortlog message */ public static String trimShortLog(String string) { return trimString(string, 60); } /** * Left pad a string with the specified character, if the string length is * less than the specified length. * @@ -495,4 +485,11 @@ } return value; } public static int countLines(String value) { if (isEmpty(value)) { return 0; } return value.split("\n").length; } }