jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1442916 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java
Date Wed, 06 Feb 2013 11:36:05 GMT
Author: mduerig
Date: Wed Feb  6 11:36:04 2013
New Revision: 1442916

URL: http://svn.apache.org/viewvc?rev=1442916&view=rev
Log:
OAK-610: Misleading exception message in MultiPropertyState

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java?rev=1442916&r1=1442915&r2=1442916&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MultiPropertyState.java
Wed Feb  6 11:36:04 2013
@@ -156,7 +156,7 @@ abstract class MultiPropertyState<T> ext
     @Nonnull
     @Override
     public <S> S getValue(Type<S> type) {
-        checkArgument(type.isArray(), "Type must not be an array type");
+        checkArgument(type.isArray(), "Type must be an array type");
         if (getType() == type) {
             return (S) values;
         }



Mime
View raw message