[Mulgara-svn] r1347 - in trunk/src/jar: resolver-distributed/java/org/mulgara/resolver/distributed resolver-spi/java/org/mulgara/resolver/spi

ronald at mulgara.org ronald at mulgara.org
Thu Oct 23 13:11:36 UTC 2008


Author: ronald
Date: 2008-10-23 06:11:35 -0700 (Thu, 23 Oct 2008)
New Revision: 1347

Modified:
   trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/NetworkDelegator.java
   trunk/src/jar/resolver-spi/java/org/mulgara/resolver/spi/AbstractXAResource.java
Log:
Minor formatting fix: removed extra whitespace.

Modified: trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/NetworkDelegator.java
===================================================================
--- trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/NetworkDelegator.java	2008-10-23 13:11:28 UTC (rev 1346)
+++ trunk/src/jar/resolver-distributed/java/org/mulgara/resolver/distributed/NetworkDelegator.java	2008-10-23 13:11:35 UTC (rev 1347)
@@ -91,7 +91,7 @@
    */
   public Resolution resolve(Constraint localConstraint, LocalNode localModel) throws QueryException, ResolverException {
     // globalize the model
-    URIReferenceImpl modelRef = getModelRef(localModel); 
+    URIReferenceImpl modelRef = getModelRef(localModel);
 
     URI serverUri = getServerUri(modelRef);
     logger.debug("Querying for: " + localConstraint + " in model: " + modelRef + " on server: " + serverUri);
@@ -164,8 +164,8 @@
   protected URIReferenceImpl getModelRef(LocalNode localModel) throws ResolverException {
     return getModelRef(localModel.getValue());
   }
-  
-  
+
+
   /**
    * Convert a model gNode into a URIReferenceImpl.
    * @param modelGNode The gNode to convert.
@@ -185,7 +185,7 @@
    * Create a query for a single constraint.
    * @param constraint The local constraint to query for.
    * @return The globalized query, looking for the single constraint.
-   * @throws ResolverException There was an error globalizing the constraint elements. 
+   * @throws ResolverException There was an error globalizing the constraint elements.
    */
   @SuppressWarnings("unchecked")
   protected Query globalizedQuery(Constraint localConstraint, URIReferenceImpl model) throws ResolverException {

Modified: trunk/src/jar/resolver-spi/java/org/mulgara/resolver/spi/AbstractXAResource.java
===================================================================
--- trunk/src/jar/resolver-spi/java/org/mulgara/resolver/spi/AbstractXAResource.java	2008-10-23 13:11:28 UTC (rev 1346)
+++ trunk/src/jar/resolver-spi/java/org/mulgara/resolver/spi/AbstractXAResource.java	2008-10-23 13:11:35 UTC (rev 1347)
@@ -73,7 +73,7 @@
 
     synchronized (resourceManagers) {
       @SuppressWarnings("unchecked")
-      R rmgr = (R) resourceManagers.get(resolverFactory);
+      R rmgr = (R)resourceManagers.get(resolverFactory);
       if (rmgr == null)
         resourceManagers.put(resolverFactory, rmgr = newResourceManager());
       this.resourceManager = rmgr;




More information about the Mulgara-svn mailing list