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

Modified Files:
        DidactorFaq.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/faq/java/nl/didactor/component/faq


Index: DidactorFaq.java
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/faq/java/nl/didactor/component/faq/DidactorFaq.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DidactorFaq.java    6 Jan 2006 13:23:53 -0000       1.2
+++ DidactorFaq.java    21 Jan 2008 14:44:45 -0000      1.3
@@ -15,7 +15,9 @@
      */
     public String getVersion() {
         return "0.1";
-    } /**
+    }
+
+    /**
      * Returns the name of the component
      */
     public String getName() {
@@ -33,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. 
      */
@@ -125,8 +108,5 @@
                                              
     }      
     
-    /**
-     * 
-     */
 
 }
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to