db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1459784 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java
Date Fri, 22 Mar 2013 14:05:25 GMT
Author: rhillegas
Date: Fri Mar 22 14:05:25 2013
New Revision: 1459784

URL: http://svn.apache.org/r1459784
Log:
DERBY-672: Make a helper class serializable so that the test class ModeAggregate can be used
for tests of grouped aggregates with many groups.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java?rev=1459784&r1=1459783&r2=1459784&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ModeAggregate.java
Fri Mar 22 14:05:25 2013
@@ -21,6 +21,7 @@
 
 package org.apache.derbyTesting.functionTests.tests.lang;
 
+import java.io.Serializable;
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.HashMap;
@@ -91,7 +92,7 @@ public  class   ModeAggregate    impleme
     //
     ///////////////////////////////////////////////////////////////////////////////////
 
-    public  static  final   class   Accumulator implements  Comparable<Accumulator>
+    public  static  final   class   Accumulator implements  Comparable<Accumulator>,
Serializable
     {
         private Integer _value;
         private int         _count;



Mime
View raw message