HHH-4787 - Clean up
This commit is contained in:
parent
0850fd009a
commit
e69112ba80
|
@ -30,8 +30,6 @@ import org.hibernate.envers.tools.query.Parameters;
|
|||
import org.hibernate.envers.tools.query.QueryBuilder;
|
||||
import org.hibernate.envers.query.property.PropertyNameGetter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
*/
|
||||
|
|
|
@ -119,7 +119,7 @@ public class Parameters {
|
|||
/**
|
||||
* Adds <code>IS NULL</code> restriction.
|
||||
* @param propertyName Property name.
|
||||
* @param addAlias Positive if alias to property name shall be added.
|
||||
* @param addAlias Positive if an alias to property name shall be added.
|
||||
*/
|
||||
public void addNullRestriction(String propertyName, boolean addAlias) {
|
||||
addWhere(propertyName, addAlias, "is", "null", false);
|
||||
|
@ -128,7 +128,7 @@ public class Parameters {
|
|||
/**
|
||||
* Adds <code>IS NOT NULL</code> restriction.
|
||||
* @param propertyName Property name.
|
||||
* @param addAlias Positive if alias to property name shall be added.
|
||||
* @param addAlias Positive if an alias to property name shall be added.
|
||||
*/
|
||||
public void addNotNullRestriction(String propertyName, boolean addAlias) {
|
||||
addWhere(propertyName, addAlias, "is not", "null", false);
|
||||
|
|
Loading…
Reference in New Issue