jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r360156 - in /incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi: client/ observation/
Date Fri, 30 Dec 2005 20:00:38 GMT
Author: jukka
Date: Fri Dec 30 12:00:31 2005
New Revision: 360156

URL: http://svn.apache.org/viewcvs?rev=360156&view=rev
Log:
JCR-97: Improve checkstyle conformance in JCR-RMI.

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientAdapterFactory.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientItem.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientSession.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
    incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientAdapterFactory.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientAdapterFactory.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientAdapterFactory.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientAdapterFactory.java
Fri Dec 30 12:00:31 2005
@@ -109,7 +109,7 @@
             RemoteObservationManager remote) {
         return new ClientObservationManager(workspace, remote);
     }
-    
+
     /**
      * Creates and returns a
      * {@link ClientNamespaceRegistry ClientClientNamespaceRegistry} instance.

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientItem.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientItem.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientItem.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientItem.java
Fri Dec 30 12:00:31 2005
@@ -21,7 +21,6 @@
 import javax.jcr.Item;
 import javax.jcr.ItemVisitor;
 import javax.jcr.Node;
-import javax.jcr.Property;
 import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
@@ -163,7 +162,7 @@
             return false;
         } else if (equals(item)) {
             return true;
-        } else if (isNode() == item.isNode()){
+        } else if (isNode() == item.isNode()) {
             return getPath().equals(item.getPath());
         } else {
             return false;

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientObservationManager.java
Fri Dec 30 12:00:31 2005
@@ -52,10 +52,10 @@
 
     /** The remote observation manager */
     private final RemoteObservationManager remote;
-    
+
     /** The <code>Workspace</code> to which this observation manager belongs.
*/
     private final Workspace workspace;
-    
+
     /** The ClientEventPoll class internally used for event dispatching */
     private ClientEventPoll poller;
 

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientSession.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientSession.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientSession.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientSession.java
Fri Dec 30 12:00:31 2005
@@ -69,7 +69,7 @@
      * method first checks this flag before asking the remote session.
      */
     private boolean live = true;
-    
+
     /** The adapted remote session. */
     private RemoteSession remote;
 
@@ -308,12 +308,12 @@
 
     /** {@inheritDoc} */
     public void logout() {
-        
+
         // ignore if we are not alive any more.
         if (!isLive()) {
             return;
         }
-        
+
         try {
             remote.logout();
         } catch (RemoteException ex) {

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientVersion.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientVersion.java
Fri Dec 30 12:00:31 2005
@@ -89,4 +89,4 @@
             throw new RemoteRepositoryException(ex);
         }
    }
-}
\ No newline at end of file
+}

Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java
(original)
+++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/observation/ClientEventPoll.java
Fri Dec 30 12:00:31 2005
@@ -71,13 +71,13 @@
 
     /** The {@link RemoteObservationManager} called for the new events. */
     private final RemoteObservationManager remote;
-    
+
     /**
      * The <code>Session</code> checked by the {@link #run} method whether it
      * is still alive or the thread should terminate.
      */
     private final Session session;
-    
+
     /** The map of locally registered listeners indexed by the unique identifier */
     private Map listenerMap = new HashMap();
 
@@ -98,13 +98,14 @@
      *      events. This must not be <code>null</code>.
      * @param session The <code>Session</code> which is asked whether it is
      *      alive by the {@link #run()} method. This must not be <code>null</code>.
-     * 
+     *
      * @throws NullPointerException if <code>remote</code> or <code>session</code>
      *      is <code>null</code>.
      */
-    public ClientEventPoll(RemoteObservationManager remote, Session session) {
+    public ClientEventPoll(RemoteObservationManager remote, Session session)
+            throws NullPointerException {
         super(THREAD_NAME);
-        
+
         // check remote and session
         if (remote == null) {
             throw new NullPointerException("remote");
@@ -112,7 +113,7 @@
         if (session == null) {
             throw new NullPointerException("session");
         }
-        
+
         this.remote = remote;
         this.session = session;
     }



Mime
View raw message