File headers and newlines

This commit is contained in:
gavinking 2020-01-31 10:58:42 +01:00
parent 41577dcec4
commit 2175aea8ad
6 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,9 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.dialect;
import org.hibernate.boot.Metadata;

View File

@ -327,4 +327,4 @@ public enum TemporalUnit {
public String toString() {
return super.toString().toLowerCase();
}
}
}

View File

@ -1,3 +1,9 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.query.sqm.function;
import org.hibernate.metamodel.model.domain.AllowableFunctionReturnType;

View File

@ -564,7 +564,9 @@ public abstract class BaseSemanticQueryWalker implements SemanticQueryWalker<Obj
return expression;
}
public Object visitByUnit(SqmByUnit byUnit) { return byUnit; }
public Object visitByUnit(SqmByUnit byUnit) {
return byUnit;
}
@Override
public Object visitDurationUnit(SqmDurationUnit durationUnit) {

View File

@ -83,4 +83,4 @@ public class SqmCastTarget<T> extends AbstractSqmNode implements SqmTypedNode<T>
public SqmExpressable getNodeType() {
return type;
}
}
}

View File

@ -201,4 +201,4 @@ public final class DateTimeUtils {
return formatter;
}
}
}