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

Modified Files:
        ZipUtil.java ContentHelper.java 
Log Message:
These imports are not needed.


See also: http://cvs.mmbase.org/viewcvs/contributions/natmm/src/nl/leocms/util


Index: ZipUtil.java
===================================================================
RCS file: /var/cvs/contributions/natmm/src/nl/leocms/util/ZipUtil.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ZipUtil.java        6 Oct 2006 10:07:17 -0000       1.3
+++ ZipUtil.java        23 Dec 2008 15:50:25 -0000      1.4
@@ -21,7 +21,6 @@
 package nl.leocms.util;
 
 import org.mmbase.util.logging.*;
-import nl.leocms.util.*;
 import java.util.zip.*;
 import java.util.*;
 import nl.leocms.util.tools.HtmlCleaner;
@@ -95,7 +94,7 @@
    
    public void createArchiveFile(String sFileName, String sArchiveName) {
       //by default archive is created in the folder where archiving file is.
-      //sFileName should contait path to the file and it's name, sArchiveName -
+      //sFileName should contain path to the file and it's name, sArchiveName -
       //only archive file name
       int iLastSlashIndex = sFileName.lastIndexOf("/");
       String sPath = sFileName.substring(0,iLastSlashIndex + 1);
@@ -128,7 +127,7 @@
       //listed in sDir
 
       //by default archive is creating in the folder where archiving file is.
-      //sFileName should containt path to the file and it's name, sArchiveName 
-
+      //sFileName should contain path to the file and it's name, sArchiveName -
       //only archive file name
       int iLastSlashIndex = sFileName.lastIndexOf("/");
       String sPath = sFileName.substring(0,iLastSlashIndex + 1);


Index: ContentHelper.java
===================================================================
RCS file: /var/cvs/contributions/natmm/src/nl/leocms/util/ContentHelper.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- ContentHelper.java  6 Oct 2006 10:07:17 -0000       1.22
+++ ContentHelper.java  23 Dec 2008 15:50:25 -0000      1.23
@@ -22,7 +22,6 @@
 
 import org.mmbase.bridge.*;
 import java.util.*;
-import nl.leocms.util.*;
 import nl.leocms.authorization.AuthorizationHelper;
 import nl.leocms.authorization.UserRole;
 import nl.leocms.authorization.Roles;
@@ -130,7 +129,7 @@
 
       Node node = cloud.getNode(sNodeNumber);
       String otype = node.getStringValue("otype");
-      String thisType = (String) getNameWithOtype(otype);
+      String thisType = getNameWithOtype(otype);
             
       ApplicationHelper ap = new ApplicationHelper(cloud);
       
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to