From afb95a595f13314c687b8edab5e495cfadd874ca Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Tue, 20 Oct 2009 05:02:19 +0000 Subject: [PATCH] OPENJPA-1085: Add toString() to PCStates git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826953 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/openjpa/kernel/TLoadedState.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/TLoadedState.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/TLoadedState.java index 1afdaeffc..25f680626 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/TLoadedState.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/TLoadedState.java @@ -27,6 +27,7 @@ package org.apache.openjpa.kernel; * * @author Steve Kim */ +@SuppressWarnings("serial") class TLoadedState extends PCState { @@ -37,4 +38,8 @@ class TLoadedState PCState release(StateManagerImpl context) { return TRANSIENT; } + + public String toString() { + return "Transient-Loaded"; + } }