(JavaDoc adjustment)
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/22e5fddf Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/22e5fddf Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/22e5fddf Branch: refs/heads/2.3-gae Commit: 22e5fddfc39a064454d219702328d8c9d9ed9724 Parents: 48f7b87 Author: ddekany <ddek...@apache.org> Authored: Fri Jan 1 20:34:44 2016 +0100 Committer: ddekany <ddek...@apache.org> Committed: Fri Jan 1 20:34:44 2016 +0100 ---------------------------------------------------------------------- src/main/java/freemarker/template/utility/StringUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/22e5fddf/src/main/java/freemarker/template/utility/StringUtil.java ---------------------------------------------------------------------- diff --git a/src/main/java/freemarker/template/utility/StringUtil.java b/src/main/java/freemarker/template/utility/StringUtil.java index 973c1f4..58d5ffb 100644 --- a/src/main/java/freemarker/template/utility/StringUtil.java +++ b/src/main/java/freemarker/template/utility/StringUtil.java @@ -823,7 +823,7 @@ public class StringUtil { } /** - * Removes the line-break from the end of the string. + * Removes a line-break from the end of the string (if there's any). */ public static String chomp(String s) { if (s.endsWith("\r\n")) return s.substring(0, s.length() - 2);