[Japi-cvs] SF.net SVN: japi: [455] libs/util/trunk/src/net/sf/japi/util/Collections2. java
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2007-06-25 20:35:38
|
Revision: 455 http://svn.sourceforge.net/japi/?rev=455&view=rev Author: christianhujer Date: 2007-06-25 13:34:08 -0700 (Mon, 25 Jun 2007) Log Message: ----------- Fixed some checkstyle issues. Modified Paths: -------------- libs/util/trunk/src/net/sf/japi/util/Collections2.java Modified: libs/util/trunk/src/net/sf/japi/util/Collections2.java =================================================================== --- libs/util/trunk/src/net/sf/japi/util/Collections2.java 2007-06-25 20:32:16 UTC (rev 454) +++ libs/util/trunk/src/net/sf/japi/util/Collections2.java 2007-06-25 20:34:08 UTC (rev 455) @@ -33,7 +33,7 @@ * @author <a href="mailto:ch...@ri...">Christian Hujer</a> * @see Collections */ -public class Collections2 { +public final class Collections2 { /** Class of java.util.Arrays.ArrayList */ private static final Class<? extends List<?>> AL; @@ -45,6 +45,10 @@ AL = c; } + /** Utility class - do not instanciate. */ + private Collections2() { + } + /** Returns a collection only containing those elements accepted by the given filter. * The original collection remains unmodified. * This method tries its best to create a new, empty variant of the Collection passed in <var>c</var>: @@ -174,7 +178,4 @@ } } - /** Private constructor - no instances needed. */ - private Collections2() {} - } // class Collections2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |