HHH-4787 - Clean up

This commit is contained in:
Lukasz Antoniak 2011-04-21 20:12:29 +02:00 committed by adamw
parent 0850fd009a
commit e69112ba80
2 changed files with 2 additions and 4 deletions

View File

@ -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)
*/

View File

@ -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);