Author: jonesde
Date: Sat Jul 4 03:21:18 2009
New Revision: 791054
URL:
http://svn.apache.org/viewvc?rev=791054&view=revLog:
Added Override annotations as suggested by Adam Heath to avoid missing these again in the future and causing problems
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByAndFinder.java
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByConditionFinder.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByAndFinder.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByAndFinder.java?rev=791054&r1=791053&r2=791054&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByAndFinder.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByAndFinder.java Sat Jul 4 03:21:18 2009
@@ -46,6 +46,7 @@
this.fieldMap = EntityFinderUtil.makeFieldMap(element);
}
+ @Override
public EntityCondition getWhereEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) {
// create the by and map
Map<String, Object> entityContext = FastMap.newInstance();
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByConditionFinder.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByConditionFinder.java?rev=791054&r1=791053&r2=791054&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByConditionFinder.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/ByConditionFinder.java Sat Jul 4 03:21:18 2009
@@ -58,6 +58,7 @@
}
}
+ @Override
public EntityCondition getWhereEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) {
// create whereEntityCondition from whereCondition
if (this.whereCondition != null) {
@@ -66,6 +67,7 @@
return null;
}
+ @Override
public EntityCondition getHavingEntityCondition(Map<String, Object> context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader) {
// create havingEntityCondition from havingCondition
if (this.havingCondition != null) {
@@ -74,4 +76,3 @@
return null;
}
}
-