jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r649403 - /jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
Date Fri, 18 Apr 2008 08:21:39 GMT
Author: angela
Date: Fri Apr 18 01:21:35 2008
New Revision: 649403

URL: http://svn.apache.org/viewvc?rev=649403&view=rev
Log:
simplify catch block: NameException is defined in imports. no need to specify package.

Modified:
    jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java?rev=649403&r1=649402&r2=649403&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
Fri Apr 18 01:21:35 2008
@@ -290,7 +290,7 @@
         try {
             return new QNodeDefinitionImpl(getNode(nodeId, sInfo).getDefinition(),
                     sInfo.getNamePathResolver());
-        } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
     }
@@ -341,7 +341,7 @@
         Node node = getNode(nodeId, sInfo);
         try {
             return new NodeInfoImpl(node, idFactory, sInfo.getNamePathResolver());
-        } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
     }
@@ -364,7 +364,7 @@
             NodeInfo info;
             try {
                 info = new NodeInfoImpl(node, idFactory, sInfo.getNamePathResolver());
-            } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+            } catch (NameException e) {
                 throw new RepositoryException(e);
             }
             return Collections.singletonList(info).iterator();
@@ -374,14 +374,14 @@
                 protected void entering(Property property, int i) throws RepositoryException
{
                     try {
                         itemInfos.add(new PropertyInfoImpl(property, idFactory, sInfo.getNamePathResolver(),
getQValueFactory()));
-                    } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e)
{
+                    } catch (NameException e) {
                         throw new RepositoryException(e);
                     }
                 }
                 protected void entering(Node node, int i) throws RepositoryException {
                     try {
                         itemInfos.add(new NodeInfoImpl(node, idFactory, sInfo.getNamePathResolver()));
-                    } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e)
{
+                    } catch (NameException e) {
                         throw new RepositoryException(e);
                     }
                 }
@@ -410,7 +410,7 @@
                 childInfos.add(new ChildInfoImpl(children.nextNode(),
                         sInfo.getNamePathResolver()));
             }
-        } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
         return childInfos.iterator();
@@ -426,7 +426,7 @@
         try {
             return new PropertyInfoImpl(getProperty(propertyId, sInfo), idFactory,
                     sInfo.getNamePathResolver(), getQValueFactory());
-        } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
     }
@@ -1018,7 +1018,7 @@
                 nodeTypes.add(new QNodeTypeDefinitionImpl(nt,
                         sInfo.getNamePathResolver(), getQValueFactory()));
             }
-        } catch (org.apache.jackrabbit.spi.commons.conversion.NameException e) {
+        } catch (NameException e) {
             throw new RepositoryException(e);
         }
         return nodeTypes.iterator();



Mime
View raw message