Update of
/var/cvs/contributions/didactor2/src/news/java/nl/didactor/component/news
In directory
james.mmbase.org:/tmp/cvs-serv25946/news/java/nl/didactor/component/news
Modified Files:
DidactorNews.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/news/java/nl/didactor/component/news
Index: DidactorNews.java
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/news/java/nl/didactor/component/news/DidactorNews.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DidactorNews.java 6 Jan 2006 13:23:53 -0000 1.2
+++ DidactorNews.java 21 Jan 2008 14:44:45 -0000 1.3
@@ -9,13 +9,17 @@
import java.util.Map;
import nl.didactor.component.portalpages.DidactorPortalPages;
+/**
+ * @javadoc
+ */
public class DidactorNews extends Component {
/**
* Returns the version of the component
*/
public String getVersion() {
return "0.1";
- } /**
+ }
+ /**
* Returns the name of the component
*/
public String getName() {
@@ -33,25 +37,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.
*/
@@ -135,8 +120,4 @@
}
- /**
- *
- */
-
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs