From 775c33d4fc177c010f40400bd3e2085d787cfac8 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Sun, 23 Jul 2006 22:01:21 +0000 Subject: [PATCH] Fixed typo in conditional git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@424833 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/openjpa/datacache/DataCacheStoreManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java index 8481cc7ca..9ca86f311 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java @@ -526,8 +526,8 @@ public class DataCacheStoreManager _inserts = new LinkedList(); _inserts.add(sm); } else if (_inserts != null && - sm.getPCState() == PCState.PNEWDELETED || - sm.getPCState() == PCState.PNEWFLUSHEDDELETED) + (sm.getPCState() == PCState.PNEWDELETED || + sm.getPCState() == PCState.PNEWFLUSHEDDELETED)) _inserts.remove(sm); else if (sm.getPCState() == PCState.PDIRTY) { if (_updates == null)