jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1342842 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java
Date Sat, 26 May 2012 00:31:59 GMT
Author: dbrosius
Date: Sat May 26 00:31:58 2012
New Revision: 1342842

URL: http://svn.apache.org/viewvc?rev=1342842&view=rev
Log:
remove dead allocation

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java?rev=1342842&r1=1342841&r2=1342842&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/QueryStatImpl.java
Sat May 26 00:31:58 2012
@@ -145,7 +145,7 @@ public class QueryStatImpl implements Qu
     }
 
     public QueryStatDto[] getPopularQueries() {
-        QueryStatDtoImpl[] top = new QueryStatDtoImpl[0];
+        QueryStatDtoImpl[] top;
         int size = 0;
         int maxSize = 0;
         synchronized (popularQueries) {



Mime
View raw message