jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r472895 - /jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Date Thu, 09 Nov 2006 13:40:48 GMT
Author: mreutegg
Date: Thu Nov  9 05:40:48 2006
New Revision: 472895

URL: http://svn.apache.org/viewvc?view=rev&rev=472895
Log:
Use constant S_INFO as subscription info.

Modified:
    jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java?view=diff&rev=472895&r1=472894&r2=472895
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Thu Nov  9 05:40:48 2006
@@ -1178,8 +1178,7 @@
         String rootUri = uriResolver.getRootItemUri(sessionInfo.getWorkspaceName());
         String subscriptionId = sessionInfoImpl.getSubscriptionId();
         if (subscriptionId == null) {
-            SubscriptionInfo subscriptionInfo = new SubscriptionInfo(ALL_EVENTS, true, DavConstants.UNDEFINED_TIMEOUT);
-            subscriptionId = subscribe(rootUri, subscriptionInfo, null, sessionInfo, null);
+            subscriptionId = subscribe(rootUri, S_INFO, null, sessionInfo, null);
             log.debug("Subscribed on server for session info " + sessionInfo);
             sessionInfoImpl.setSubscriptionId(subscriptionId);
         }



Mime
View raw message