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:
Pinaki Poddar 2008-09-11 04:54:49 +00:00
parent a098b86d73
commit e047748e77
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public interface CacheStatistics extends Serializable {
private long getCount(Map<Class, long[]> target, Class c, int index) {
long[] row = target.get(c);
return (row == null) ? 0 : row[WRITE];
return (row == null) ? 0 : row[index];
}
public Date since() {