OPENJPA-703: correct comment

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794069 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-07-14 21:21:14 +00:00
parent c155c9ee2f
commit 229cb12699
2 changed files with 2 additions and 3 deletions

View File

@ -120,8 +120,7 @@ public class PreparedQueryCacheImpl implements PreparedQueryCache {
} }
_delegate.put(id, q); _delegate.put(id, q);
if (_log != null && _log.isTraceEnabled()) if (_log != null && _log.isTraceEnabled())
_log.trace(_loc.get("prepared-query-cached", id, _log.trace(_loc.get("prepared-query-cached", id);
q.getTargetQuery()));
return true; return true;
} finally { } finally {
unlock(); unlock();

View File

@ -117,7 +117,7 @@ strong-exclusion: excluded permanently
weak-exclusion: excluded temporarily weak-exclusion: excluded temporarily
prepared-query-excluded-by-user: because matches user specified exclusion \ prepared-query-excluded-by-user: because matches user specified exclusion \
pattern "{0}" pattern "{0}"
prepared-query-cached: Query "{0}" is cached as target query "{1}" prepared-query-cached: Query "{0}" is cached."
prepared-query-not-cachable: Query "{0}" is not fit for caching. prepared-query-not-cachable: Query "{0}" is not fit for caching.
prepared-query-invalidate: Query "{0}" is invalidated and removed from cache. prepared-query-invalidate: Query "{0}" is invalidated and removed from cache.
prepared-query-uncache: Query "{0}" is removed from cache {1}. prepared-query-uncache: Query "{0}" is removed from cache {1}.