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" );
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public boolean bindLimitParametersInReverseOrder() {
|
||||
return true;
|
||||
|
@ -431,7 +430,6 @@ public abstract class AbstractHANADialect extends Dialect {
|
|||
return getForUpdateString( lockMode ) + " of " + aliases;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public String getLimitString(final String sql, final boolean hasOffset) {
|
||||
return new StringBuilder( sql.length() + 20 ).append( sql )
|
||||
|
@ -606,7 +604,6 @@ public abstract class AbstractHANADialect extends Dialect {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public boolean supportsLimit() {
|
||||
return true;
|
||||
|
|
|
@ -45,7 +45,9 @@ public interface Mapping {
|
|||
*
|
||||
* @deprecated temporary solution
|
||||
*/
|
||||
@Deprecated
|
||||
public IdentifierGeneratorFactory getIdentifierGeneratorFactory();
|
||||
|
||||
public Type getIdentifierType(String className) throws MappingException;
|
||||
public String getIdentifierPropertyName(String className) 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
|
||||
public TypedValue(Type type, Object value, EntityMode entityMode) {
|
||||
this(type, value);
|
||||
|
|
|
@ -97,8 +97,10 @@ public abstract class AbstractPreDatabaseOperationEvent
|
|||
* {@link AbstractEvent}.
|
||||
*
|
||||
* @return Value for property 'source'.
|
||||
*
|
||||
* @deprecated Use {@link #getSession} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public EventSource getSource() {
|
||||
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
|
||||
* the most pressing need.
|
||||
*
|
||||
* @deprecated
|
||||
* @deprecated See entire discussion above
|
||||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ParameterContainer {
|
||||
/**
|
||||
* Set the renderable text of this node.
|
||||
|
|
|
@ -46,6 +46,7 @@ public final class ASTUtil {
|
|||
*
|
||||
* @deprecated (tellclovertoignorethis)
|
||||
*/
|
||||
@Deprecated
|
||||
private ASTUtil() {
|
||||
}
|
||||
|
||||
|
@ -62,6 +63,7 @@ public final class ASTUtil {
|
|||
*
|
||||
* @deprecated silly
|
||||
*/
|
||||
@Deprecated
|
||||
public static AST create(ASTFactory astFactory, int type, String text) {
|
||||
return astFactory.create( type, text );
|
||||
}
|
||||
|
@ -409,6 +411,7 @@ public final class ASTUtil {
|
|||
*
|
||||
* @deprecated Use #getTokenTypeName instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static String getConstantName(Class owner, int value) {
|
||||
return getTokenTypeName( owner, value );
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ public final class ColumnHelper {
|
|||
/**
|
||||
* @deprecated (tell clover to filter this out)
|
||||
*/
|
||||
@Deprecated
|
||||
private ColumnHelper() {
|
||||
}
|
||||
|
||||
|
|
|
@ -46,9 +46,11 @@ public interface IdentifierGeneratorFactory {
|
|||
* Allow injection of the dialect to use.
|
||||
*
|
||||
* @param dialect The dialect
|
||||
*
|
||||
* @deprecated The intention is that Dialect should be required to be specified up-front and it would then get
|
||||
* ctor injected.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setDialect(Dialect dialect);
|
||||
|
||||
/**
|
||||
|
|
|
@ -43,11 +43,20 @@ public final class CollectionHelper {
|
|||
public static final int MINIMUM_INITIAL_CAPACITY = 16;
|
||||
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;
|
||||
@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;
|
||||
@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;
|
||||
|
||||
private CollectionHelper() {
|
||||
|
|
|
@ -186,7 +186,9 @@
|
|||
The org.hibernate.engine.spi.ManagedEntity method names (prefixed with '&&_') muck with this
|
||||
<module name="MethodName" />
|
||||
-->
|
||||
<module name="MethodTypeParameterName" />
|
||||
<module name="MethodTypeParameterName">
|
||||
<property name="format" value="^[A-Z][A-Z0-9]*$" />
|
||||
</module>
|
||||
<module name="PackageName" />
|
||||
<module name="ParameterName" />
|
||||
<module name="StaticVariableName" />
|
||||
|
|
Loading…
Reference in New Issue