jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1152253 - /jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Date Fri, 29 Jul 2011 15:01:06 GMT
Author: mduerig
Date: Fri Jul 29 15:01:05 2011
New Revision: 1152253

URL: http://svn.apache.org/viewvc?rev=1152253&view=rev
Log:
spi2microkernel (WIP)
- guard agains NPE

Modified:
    jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java

Modified: jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java?rev=1152253&r1=1152252&r2=1152253&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Fri Jul 29 15:01:05 2011
@@ -464,7 +464,7 @@ public class SubscriptionImpl implements
         private ItemId itemId;
         private NodeId parentId;
         private Name primaryNodeType;
-        private Name[] mixinTypes;
+        private Name[] mixinTypes = new Name[0];
         private String userId;
         private String userData;
         private long timestamp;



Mime
View raw message