Update of 
/var/cvs/contributions/didactor2/src/portalpages/java/nl/didactor/component/portalpages
In directory 
james.mmbase.org:/tmp/cvs-serv25946/portalpages/java/nl/didactor/component/portalpages

Modified Files:
        DidactorPortalPages.java 
Log Message:
don't override methods which don't actually change anything, it probably was 
only mindless copy-pasting


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/portalpages/java/nl/didactor/component/portalpages


Index: DidactorPortalPages.java
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/portalpages/java/nl/didactor/component/portalpages/DidactorPortalPages.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- DidactorPortalPages.java    14 Sep 2006 08:42:38 -0000      1.3
+++ DidactorPortalPages.java    21 Jan 2008 14:44:45 -0000      1.4
@@ -8,6 +8,10 @@
 import org.mmbase.storage.search.implementation.NodeSearchQuery;
 import java.util.Map;
 
+/**
+ * @javadoc
+ */
+
 public class DidactorPortalPages extends Component {
     /**
      * Returns the version of the component
@@ -31,25 +35,6 @@
     }
 
     /**
-     * Permission framework: indicate whether or not a given operation may be 
done, with the
-     * given arguments. The return value is a list of 2 booleans; the first 
boolean indicates
-     * whether or not the operation is allowed, the second boolean indicates 
whether or not
-     * this result may be cached.
-     */
-    public boolean[] may (String operation, Cloud cloud, Map context, String[] 
arguments) {
-        return new boolean[]{true, true};
-    }
-
-       /**
-        * Of course, no matter what setting somebody wants to get,
-        * we say that it's  unknown since there isn't any settings
-        * in this chat.
-        */
-    public String getSetting(String setting, Cloud cloud, Map context, 
String[] arguments) {
-        throw new IllegalArgumentException("Unknown setting '" + setting + 
"'");
-    }
-
-    /**
      * This method is called when a new object is added to Didactor. If the 
component
      * needs to insert objects for this object, it can do so. 
      */
@@ -90,7 +75,7 @@
                                        portalcontainers.insert(username, 
portalcontainer);
                        }
              } catch (Exception ex) {
-                ex.printStackTrace();
+            log.warn(ex);
              }                 
         
         if(!typerel.contains(portalpagescontainers,portalpagesnodes,related)){
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to