mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - remove unused
This commit is contained in:
1 parent
6c0401b191
commit
7f2c705b94
10 files changed
+12
-109
No files matched your search
@@ -160,12 +160,11 @@ public final class ElFilter<T> implements Filter<T> {
|
||||
matches.add(new ElMatchBuilder.Lt<T>(value, comparator));
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Filter<T> regex(String propertyName, String regEx) {
|
||||
return regex(propertyName, regEx, 0);
|
||||
}
|
||||
|
||||
|
||||
public Filter<T> regex(String propertyName, String regEx, int options) {
|
||||
|
||||
ElPropertyValue elGetValue = getElGetValue(propertyName);
|
||||
|
||||
@@ -175,15 +175,11 @@ class ElMatchBuilder {
|
||||
|
||||
public boolean isMatch(T bean) {
|
||||
|
||||
Object value = elGetValue.elGetValue((EntityBean)bean);
|
||||
if (value == null){
|
||||
return false;
|
||||
}
|
||||
|
||||
return set.contains(value);
|
||||
}
|
||||
|
||||
Object value = elGetValue.elGetValue((EntityBean) bean);
|
||||
return value != null && set.contains(value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Equal To.
|
||||
*/
|
||||
|
||||
@@ -97,13 +97,6 @@ public class ElPropertyChain implements ElPropertyValue {
|
||||
return StringHelper.replaceString(el, ROOT_ELPREFIX, "${"+prefix+"}");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Full ElGetValue support.
|
||||
*/
|
||||
public boolean isDeployOnly() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if there is a many property from sinceProperty to
|
||||
@@ -262,18 +255,18 @@ public class ElPropertyChain implements ElPropertyValue {
|
||||
|
||||
|
||||
public void elSetLoaded(EntityBean bean) {
|
||||
|
||||
|
||||
for (int i = 0; i < last; i++) {
|
||||
bean = (EntityBean)chain[i].elGetValue(bean);
|
||||
if (bean == null){
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (bean != null){
|
||||
((EntityBean)bean)._ebean_getIntercept().setLoaded();
|
||||
bean._ebean_getIntercept().setLoaded();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void elSetValue(EntityBean bean, Object value, boolean populate) {
|
||||
|
||||
EntityBean prevBean = bean;
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
package com.avaje.ebeaninternal.server.el;
|
||||
|
||||
public interface ElSetValue {
|
||||
|
||||
/**
|
||||
* Set the value to the bean.
|
||||
*/
|
||||
void elSetValue(Object bean, Object value);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user