From 352d799756bfed3eae503285fdd694d716b6405e Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Fri, 8 Aug 2008 18:32:01 +0000 Subject: [PATCH] OPENJPA-680 - Format changes to standard 80 columns and spacing conventions. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/openjpa/kernel/StateManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java index 67a85b595..d4269479e 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java @@ -362,7 +362,8 @@ public class StateManagerImpl */ protected boolean load(FetchConfiguration fetch, int loadMode, BitSet exclude, Object sdata, boolean forWrite) { - if (!forWrite && (!isPersistent() || (isNew() && !isFlushed()) || isDeleted())) + if (!forWrite + && (!isPersistent() || (isNew() && !isFlushed()) || isDeleted())) return false; // if any fields being loaded, do state transitions for read