HHH-8741 - More checkstyle cleanups
This commit is contained in:
parent
77c85353ab
commit
b103b2a0ad
|
@ -306,7 +306,6 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
getDefaultProperties().setProperty( AvailableSettings.NON_CONTEXTUAL_LOB_CREATION, "true" );
|
getDefaultProperties().setProperty( AvailableSettings.NON_CONTEXTUAL_LOB_CREATION, "true" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
@Override
|
@Override
|
||||||
public boolean bindLimitParametersInReverseOrder() {
|
public boolean bindLimitParametersInReverseOrder() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -431,7 +430,6 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
return getForUpdateString( lockMode ) + " of " + aliases;
|
return getForUpdateString( lockMode ) + " of " + aliases;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
@Override
|
@Override
|
||||||
public String getLimitString(final String sql, final boolean hasOffset) {
|
public String getLimitString(final String sql, final boolean hasOffset) {
|
||||||
return new StringBuilder( sql.length() + 20 ).append( sql )
|
return new StringBuilder( sql.length() + 20 ).append( sql )
|
||||||
|
@ -606,7 +604,6 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsLimit() {
|
public boolean supportsLimit() {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -45,7 +45,9 @@ public interface Mapping {
|
||||||
*
|
*
|
||||||
* @deprecated temporary solution
|
* @deprecated temporary solution
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public IdentifierGeneratorFactory getIdentifierGeneratorFactory();
|
public IdentifierGeneratorFactory getIdentifierGeneratorFactory();
|
||||||
|
|
||||||
public Type getIdentifierType(String className) throws MappingException;
|
public Type getIdentifierType(String className) throws MappingException;
|
||||||
public String getIdentifierPropertyName(String className) throws MappingException;
|
public String getIdentifierPropertyName(String className) throws MappingException;
|
||||||
public Type getReferencedPropertyType(String className, String propertyName) throws MappingException;
|
public Type getReferencedPropertyType(String className, String propertyName) throws MappingException;
|
||||||
|
|
|
@ -52,6 +52,10 @@ public final class TypedValue implements Serializable {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated explicit entity mode support is deprecated
|
||||||
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public TypedValue(Type type, Object value, EntityMode entityMode) {
|
public TypedValue(Type type, Object value, EntityMode entityMode) {
|
||||||
this(type, value);
|
this(type, value);
|
||||||
|
|
|
@ -97,8 +97,10 @@ public abstract class AbstractPreDatabaseOperationEvent
|
||||||
* {@link AbstractEvent}.
|
* {@link AbstractEvent}.
|
||||||
*
|
*
|
||||||
* @return Value for property 'source'.
|
* @return Value for property 'source'.
|
||||||
|
*
|
||||||
* @deprecated Use {@link #getSession} instead
|
* @deprecated Use {@link #getSession} instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public EventSource getSource() {
|
public EventSource getSource() {
|
||||||
return getSession();
|
return getSession();
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,9 +38,11 @@ import org.hibernate.param.ParameterSpecification;
|
||||||
* In the interim, this allows us to at least treat these "hidden" parameters properly which is
|
* In the interim, this allows us to at least treat these "hidden" parameters properly which is
|
||||||
* the most pressing need.
|
* the most pressing need.
|
||||||
*
|
*
|
||||||
* @deprecated
|
* @deprecated See entire discussion above
|
||||||
|
*
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface ParameterContainer {
|
public interface ParameterContainer {
|
||||||
/**
|
/**
|
||||||
* Set the renderable text of this node.
|
* Set the renderable text of this node.
|
||||||
|
|
|
@ -46,6 +46,7 @@ public final class ASTUtil {
|
||||||
*
|
*
|
||||||
* @deprecated (tellclovertoignorethis)
|
* @deprecated (tellclovertoignorethis)
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private ASTUtil() {
|
private ASTUtil() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ public final class ASTUtil {
|
||||||
*
|
*
|
||||||
* @deprecated silly
|
* @deprecated silly
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static AST create(ASTFactory astFactory, int type, String text) {
|
public static AST create(ASTFactory astFactory, int type, String text) {
|
||||||
return astFactory.create( type, text );
|
return astFactory.create( type, text );
|
||||||
}
|
}
|
||||||
|
@ -409,6 +411,7 @@ public final class ASTUtil {
|
||||||
*
|
*
|
||||||
* @deprecated Use #getTokenTypeName instead
|
* @deprecated Use #getTokenTypeName instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static String getConstantName(Class owner, int value) {
|
public static String getConstantName(Class owner, int value) {
|
||||||
return getTokenTypeName( owner, value );
|
return getTokenTypeName( owner, value );
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ public final class ColumnHelper {
|
||||||
/**
|
/**
|
||||||
* @deprecated (tell clover to filter this out)
|
* @deprecated (tell clover to filter this out)
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
private ColumnHelper() {
|
private ColumnHelper() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,11 @@ public interface IdentifierGeneratorFactory {
|
||||||
* Allow injection of the dialect to use.
|
* Allow injection of the dialect to use.
|
||||||
*
|
*
|
||||||
* @param dialect The dialect
|
* @param dialect The dialect
|
||||||
|
*
|
||||||
* @deprecated The intention is that Dialect should be required to be specified up-front and it would then get
|
* @deprecated The intention is that Dialect should be required to be specified up-front and it would then get
|
||||||
* ctor injected.
|
* ctor injected.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setDialect(Dialect dialect);
|
public void setDialect(Dialect dialect);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -43,11 +43,20 @@ public final class CollectionHelper {
|
||||||
public static final int MINIMUM_INITIAL_CAPACITY = 16;
|
public static final int MINIMUM_INITIAL_CAPACITY = 16;
|
||||||
public static final float LOAD_FACTOR = 0.75f;
|
public static final float LOAD_FACTOR = 0.75f;
|
||||||
|
|
||||||
@Deprecated // use java.util.Collections.EMPTY_LIST instead
|
/**
|
||||||
|
* @deprecated use {@link java.util.Collections#EMPTY_LIST} or {@link java.util.Collections#emptyList()} instead
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public static final List EMPTY_LIST = Collections.EMPTY_LIST;
|
public static final List EMPTY_LIST = Collections.EMPTY_LIST;
|
||||||
@Deprecated // use java.util.Collections.EMPTY_LIST instead
|
/**
|
||||||
|
* @deprecated use {@link java.util.Collections#EMPTY_LIST} or {@link java.util.Collections#emptyList()} instead
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public static final Collection EMPTY_COLLECTION = Collections.EMPTY_LIST;
|
public static final Collection EMPTY_COLLECTION = Collections.EMPTY_LIST;
|
||||||
@Deprecated // use java.util.Collections.EMPTY_MAP instead
|
/**
|
||||||
|
* @deprecated use {@link java.util.Collections#EMPTY_MAP} or {@link java.util.Collections#emptyMap()} instead
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public static final Map EMPTY_MAP = Collections.EMPTY_MAP;
|
public static final Map EMPTY_MAP = Collections.EMPTY_MAP;
|
||||||
|
|
||||||
private CollectionHelper() {
|
private CollectionHelper() {
|
||||||
|
|
|
@ -186,7 +186,9 @@
|
||||||
The org.hibernate.engine.spi.ManagedEntity method names (prefixed with '&&_') muck with this
|
The org.hibernate.engine.spi.ManagedEntity method names (prefixed with '&&_') muck with this
|
||||||
<module name="MethodName" />
|
<module name="MethodName" />
|
||||||
-->
|
-->
|
||||||
<module name="MethodTypeParameterName" />
|
<module name="MethodTypeParameterName">
|
||||||
|
<property name="format" value="^[A-Z][A-Z0-9]*$" />
|
||||||
|
</module>
|
||||||
<module name="PackageName" />
|
<module name="PackageName" />
|
||||||
<module name="ParameterName" />
|
<module name="ParameterName" />
|
||||||
<module name="StaticVariableName" />
|
<module name="StaticVariableName" />
|
||||||
|
|
Loading…
Reference in New Issue