mirror of https://github.com/apache/openjpa.git
Fix wrong index in data cache statisitics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694117 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a098b86d73
commit
e047748e77
|
@ -184,7 +184,7 @@ public interface CacheStatistics extends Serializable {
|
||||||
|
|
||||||
private long getCount(Map<Class, long[]> target, Class c, int index) {
|
private long getCount(Map<Class, long[]> target, Class c, int index) {
|
||||||
long[] row = target.get(c);
|
long[] row = target.get(c);
|
||||||
return (row == null) ? 0 : row[WRITE];
|
return (row == null) ? 0 : row[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date since() {
|
public Date since() {
|
||||||
|
|
Loading…
Reference in New Issue