[jboss-cvs] JBossCache/src/org/jboss/cache/loader ...

Manik Surtani manik at jboss.org
Mon Jul 2 06:21:25 EDT 2007


  User: msurtani
  Date: 07/07/02 06:21:25

  Modified:    src/org/jboss/cache/loader  ClusteredCacheLoader.java
  Log:
  CCL getChindrenNames() to return a Set<Object>
  UnversionedNode's getChildrenNames() to return a set impl that can be marshalled efficiently
  
  Revision  Changes    Path
  1.25      +2 -2      JBossCache/src/org/jboss/cache/loader/ClusteredCacheLoader.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ClusteredCacheLoader.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/ClusteredCacheLoader.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- ClusteredCacheLoader.java	19 Jun 2007 14:27:48 -0000	1.24
  +++ ClusteredCacheLoader.java	2 Jul 2007 10:21:25 -0000	1.25
  @@ -66,7 +66,7 @@
         return config;
      }
   
  -   public Set<String> getChildrenNames(Fqn fqn) throws Exception
  +   public Set getChildrenNames(Fqn fqn) throws Exception
      {
         if (!cache.getInvocationContext().isOriginLocal()) return Collections.emptySet();
         lock.acquireLock(fqn, true);
  @@ -74,7 +74,7 @@
         {
            MethodCall call = MethodCallFactory.create(MethodDeclarations.getChildrenNamesMethodLocal, fqn);
            Object resp = callRemote(call);
  -         return (Set<String>) resp;
  +         return (Set) resp;
         }
         finally
         {
  
  
  



More information about the jboss-cvs-commits mailing list