openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r943897 - in /openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice: TestTransaction.java policy/SampleQueryTargetPolicy.java
Date Thu, 13 May 2010 14:25:36 GMT
Author: ppoddar
Date: Thu May 13 14:25:36 2010
New Revision: 943897

URL: http://svn.apache.org/viewvc?rev=943897&view=rev
Log:
Remove Compilation error because to @Override flag.

Modified:
    openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestTransaction.java
    openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/policy/SampleQueryTargetPolicy.java

Modified: openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestTransaction.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestTransaction.java?rev=943897&r1=943896&r2=943897&view=diff
==============================================================================
--- openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestTransaction.java
(original)
+++ openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestTransaction.java
Thu May 13 14:25:36 2010
@@ -140,7 +140,6 @@ public class TestTransaction extends Sli
      *
      */
     public static class CarDistributorPolicy implements DistributionPolicy {
-        @Override
         public String distribute(Object pc, List<String> slices, Object context) {
             if (pc instanceof Manufacturer) {
                 return ((Manufacturer)pc).getName();

Modified: openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/policy/SampleQueryTargetPolicy.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/policy/SampleQueryTargetPolicy.java?rev=943897&r1=943896&r2=943897&view=diff
==============================================================================
--- openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/policy/SampleQueryTargetPolicy.java
(original)
+++ openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/policy/SampleQueryTargetPolicy.java
Thu May 13 14:25:36 2010
@@ -24,8 +24,13 @@ import java.util.Map;
 import org.apache.openjpa.slice.QueryTargetPolicy;
 import org.apache.openjpa.slice.TestQueryTargetPolicy;
 
+/**
+ * A sample query target policy used to {@linkplain TestQueryTargetPolicy}.
+ * 
+ * @author Pinaki Poddar
+ *
+ */
 public class SampleQueryTargetPolicy implements QueryTargetPolicy {
-    @Override
     public String[] getTargets(String query, Map<Object, Object> params, 
             String language, List<String> slices,
             Object context) {



Mime
View raw message