All hail the mighty Checkstyle

This commit is contained in:
Steve Ebersole 2019-09-13 14:53:30 -05:00 committed by Andrea Boriero
parent 50ba882b2d
commit 9cf6195110
6 changed files with 9 additions and 4 deletions

View File

@ -175,7 +175,7 @@ public interface StatelessSession extends SharedSessionContract, AutoCloseable,
Connection connection(); Connection connection();
@Remove @Remove
default <@Remove T> NativeQuery<T> createSQLQuery(String queryString) { default <T> NativeQuery<T> createSQLQuery(String queryString) {
return createNativeQuery( queryString ); return createNativeQuery( queryString );
} }
} }

View File

@ -26,6 +26,7 @@ import org.hibernate.type.Type;
* *
* @deprecated Replaced by {@link org.hibernate.query.sqm.function.SqmFunction} * @deprecated Replaced by {@link org.hibernate.query.sqm.function.SqmFunction}
*/ */
@Deprecated
public interface SQLFunction { public interface SQLFunction {
/** /**
* Does this function have any arguments? * Does this function have any arguments?

View File

@ -39,6 +39,9 @@ public enum RepresentationMode {
return externalName; return externalName;
} }
/**
* @deprecated {@link EntityMode} is deprecated itself
*/
@Deprecated @Deprecated
public EntityMode getLegacyEntityMode() { public EntityMode getLegacyEntityMode() {
return legacyEntityMode; return legacyEntityMode;

View File

@ -61,4 +61,4 @@ public interface ManagedDomainType<J> extends SimpleDomainType<J>, ManagedType<J
<S extends J> ManagedDomainType<S> findSubType(String subTypeName); <S extends J> ManagedDomainType<S> findSubType(String subTypeName);
<S extends J> ManagedDomainType<S> findSubType(Class<S> subType); <S extends J> ManagedDomainType<S> findSubType(Class<S> subType);
} }

View File

@ -14,6 +14,7 @@ import org.hibernate.sql.ast.spi.SqlAstWalker;
import org.hibernate.sql.ast.tree.SqlAstNode; import org.hibernate.sql.ast.tree.SqlAstNode;
/** /**
* The SQL AST from-clause node
* *
* @author Steve Ebersole * @author Steve Ebersole
*/ */
@ -39,4 +40,4 @@ public class FromClause implements SqlAstNode {
public void accept(SqlAstWalker sqlTreeWalker) { public void accept(SqlAstWalker sqlTreeWalker) {
sqlTreeWalker.visitFromClause( this ); sqlTreeWalker.visitFromClause( this );
} }
} }

View File

@ -61,4 +61,4 @@ public interface Fetch {
FetchParentAccess parentAccess, FetchParentAccess parentAccess,
Consumer<Initializer> collector, Consumer<Initializer> collector,
AssemblerCreationState creationState); AssemblerCreationState creationState);
} }