Update of /var/cvs/contributions/natmm/src/nl/leocms/util
In directory james.mmbase.org:/tmp/cvs-serv20822/src/nl/leocms/util
Modified Files:
Tag: BRANCH_NATMM_1_2
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.2.24.1
diff -u -b -r1.2 -r1.2.24.1
--- ContentTypeHelper.java 1 Sep 2006 09:20:55 -0000 1.2
+++ ContentTypeHelper.java 2 Feb 2009 10:10:25 -0000 1.2.24.1
@@ -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