From 1ebf25ab86703501e0967f7b1b88ce1e470865c8 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 25 Apr 2005 22:14:05 +0000 Subject: [PATCH] added a private constructor, to stop this being instantiated/subclassed. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278183 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/util/StringUtils.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/org/apache/tools/ant/util/StringUtils.java b/src/main/org/apache/tools/ant/util/StringUtils.java index 853bd139d..7be80ddf1 100644 --- a/src/main/org/apache/tools/ant/util/StringUtils.java +++ b/src/main/org/apache/tools/ant/util/StringUtils.java @@ -26,6 +26,12 @@ import java.util.Vector; */ public final class StringUtils { + /** + * constructor to stop anyone instantiating the class + */ + private StringUtils() { + } + /** the line separator for this OS */ public static final String LINE_SEP = System.getProperty("line.separator");