openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1005016 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java
Date Wed, 06 Oct 2010 13:15:39 GMT
Author: curtisr7
Date: Wed Oct  6 13:15:39 2010
New Revision: 1005016

URL: http://svn.apache.org/viewvc?rev=1005016&view=rev
Log:
OPENJPA-1801: Remove debug.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java?rev=1005016&r1=1005015&r2=1005016&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/CacheStatisticsImpl.java
Wed Oct  6 13:15:39 2010
@@ -128,9 +128,6 @@ public class CacheStatisticsImpl impleme
         if (!enabled) {
             return;
         }
-        if (cls == null) {
-            throw new RuntimeException("Snap! newGet will null cls Name");
-        }
         cls = (cls == null) ? Object.class : cls;
         addSample(cls, READ);
         if (hit) {



Mime
View raw message