Browse Source

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
master
Steve Loughran 20 years ago
parent
commit
1ebf25ab86
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/main/org/apache/tools/ant/util/StringUtils.java

+ 6
- 0
src/main/org/apache/tools/ant/util/StringUtils.java View File

@@ -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");



Loading…
Cancel
Save