jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1225173 - /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
Date Wed, 28 Dec 2011 12:46:52 GMT
Author: mduerig
Date: Wed Dec 28 12:46:52 2011
New Revision: 1225173

URL: http://svn.apache.org/viewvc?rev=1225173&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- remove unnecessary null check

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java?rev=1225173&r1=1225172&r2=1225173&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/PropertyImpl.java
Wed Dec 28 12:46:52 2011
@@ -61,10 +61,6 @@ public class PropertyImpl extends ItemIm
 
     static Property create(Context sessionContext, Path path) throws RepositoryException
{
         JsonValue value = getProperty(sessionContext, path);
-        if (value == null) {
-            throw new PathNotFoundException(path.toString());
-        }
-
         return new PropertyImpl(sessionContext, path, value);
     }
 



Mime
View raw message