jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r776321 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
Date Tue, 19 May 2009 14:07:09 GMT
Author: jukka
Date: Tue May 19 14:07:09 2009
New Revision: 776321

URL: http://svn.apache.org/viewvc?rev=776321&view=rev
Log:
JCR-2062: JSR 283: Repository Compliance

Use UnsupportedOperationException instead of RuntimeException.

Leverage the isStandardDescriptor() implementation from AbstractRepository.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java?rev=776321&r1=776320&r2=776321&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/RepositoryImpl.java
Tue May 19 14:07:09 2009
@@ -1420,22 +1420,20 @@
     }
 
     public Value getDescriptorValue(String key) {
-        throw new RuntimeException("not implemented yet - see JCR-2062");
+        throw new UnsupportedOperationException(
+                "not implemented yet - see JCR-2062");
     }
 
     public Value[] getDescriptorValues(String key) {
-        throw new RuntimeException("not implemented yet - see JCR-2062");
+        throw new UnsupportedOperationException(
+                "not implemented yet - see JCR-2062");
     }
 
     public boolean isSingleValueDescriptor(String key) {
-        throw new RuntimeException("not implemented yet - see JCR-2062");
+        throw new UnsupportedOperationException(
+                "not implemented yet - see JCR-2062");
     }
 
-    public boolean isStandardDescriptor(String key) {
-        throw new RuntimeException("not implemented yet - see JCR-2062");
-    }
-
-
     //------------------------------------------------------< SessionListener >
     /**
      * {@inheritDoc}



Mime
View raw message