Changeset 330


Ignore:
Timestamp:
12/16/11 10:56:01 (12 years ago)
Author:
sherbold
Message:
  • added private constructors to helper classes de.ugoe.cs.util.ArrayTools?, de.ugoe.cs.util.FileTools?, and de.ugoe.cs.util.StringTools? to prevent initialization of the classes (they only provide static methods)
Location:
trunk/JavaHelperLib/src/de/ugoe/cs/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/ArrayTools.java

    r290 r330  
    1010 */ 
    1111final public class ArrayTools { 
     12 
     13        /** 
     14         * <p> 
     15         * Private constructor to prevent initializing of the class. 
     16         * </p> 
     17         */ 
     18        private ArrayTools() { 
     19 
     20        } 
    1221 
    1322        /** 
     
    7382                return maxIndex; 
    7483        } 
    75          
     84 
    7685        /** 
    7786         * <p> 
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/FileTools.java

    r310 r330  
    1818 */ 
    1919public class FileTools { 
     20 
     21        /** 
     22         * <p> 
     23         * Private constructor to prevent initializing of the class. 
     24         * </p> 
     25         */ 
     26        private FileTools() { 
     27 
     28        } 
    2029 
    2130        /** 
  • trunk/JavaHelperLib/src/de/ugoe/cs/util/StringTools.java

    r175 r330  
    1010 */ 
    1111final public class StringTools { 
     12 
     13        /** 
     14         * <p> 
     15         * Private constructor to prevent initializing of the class. 
     16         * </p> 
     17         */ 
     18        private StringTools() { 
     19 
     20        } 
    1221 
    1322        /** 
Note: See TracChangeset for help on using the changeset viewer.