Update of /var/cvs/contributions/natmm/src/nl/leocms/util
In directory james.mmbase.org:/tmp/cvs-serv28262/src/nl/leocms/util

Modified Files:
        ContentTypeHelper.java 
Log Message:
NMCMS-621 - Remove not needed log.info statement and make it log.debug; Also 
cleaning up Java code.


See also: http://cvs.mmbase.org/viewcvs/contributions/natmm/src/nl/leocms/util
See also: http://www.mmbase.org/jira/browse/NMCMS-621


Index: ContentTypeHelper.java
===================================================================
RCS file: 
/var/cvs/contributions/natmm/src/nl/leocms/util/ContentTypeHelper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ContentTypeHelper.java      1 Sep 2006 09:20:55 -0000       1.2
+++ ContentTypeHelper.java      15 Jan 2009 10:57:13 -0000      1.3
@@ -26,8 +26,6 @@
 
 import com.finalist.mmbase.util.CloudFactory;
 
-import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.StringTokenizer;
 
 /**
@@ -80,7 +78,7 @@
       StringTokenizer st = new StringTokenizer(type, ",");
       boolean isContentType = false;
       while (st.hasMoreTokens()) {
-         String contentType = (String) st.nextToken();
+         String contentType = st.nextToken();
          NodeManager nm = CloudFactory.getCloud().getNodeManager(contentType);
          isContentType = isContentType(nm);
          if (!isContentType) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to