You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2016/12/29 13:37:00 UTC
svn commit: r1776421 -
/jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java
Author: reschke
Date: Thu Dec 29 13:37:00 2016
New Revision: 1776421
URL: http://svn.apache.org/viewvc?rev=1776421&view=rev
Log:
JCR-4090: fix javadoc problems - fix "exception not thrown"
Modified:
jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java
Modified: jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java?rev=1776421&r1=1776420&r2=1776421&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/client/principal/ClientGroup.java Thu Dec 29 13:37:00 2016
@@ -24,8 +24,6 @@ import java.security.acl.Group;
import java.util.Enumeration;
import java.util.Iterator;
-import javax.jcr.UnsupportedRepositoryOperationException;
-
import org.apache.jackrabbit.rmi.client.LocalAdapterFactory;
import org.apache.jackrabbit.rmi.client.RemoteRuntimeException;
import org.apache.jackrabbit.rmi.remote.RemoteIterator;
@@ -51,18 +49,13 @@ public class ClientGroup extends ClientP
}
/**
- * @throws UnsupportedRepositoryOperationException This method is not
- * implemented yet
+ * @return false - this method is not implemented yet
*/
public boolean addMember(Principal user) {
// no support for adding member here
return false;
}
- /**
- * @throws UnsupportedRepositoryOperationException This method is not
- * implemented yet
- */
public boolean isMember(Principal member) {
try {
return ((RemoteGroup) getRemotePrincipal()).isMember(member.getName());
@@ -71,7 +64,6 @@ public class ClientGroup extends ClientP
}
}
- /** {@inheritDoc} */
public Enumeration<? extends Principal> members() {
try {
final RemoteIterator remote = ((RemoteGroup) getRemotePrincipal()).members();
@@ -91,8 +83,7 @@ public class ClientGroup extends ClientP
}
/**
- * @throws UnsupportedRepositoryOperationException This method is not
- * implemented yet
+ * @return false - this method is not implemented yet
*/
public boolean removeMember(Principal user) {
// no support for removing member here