Purge deprecated classes
Issue: SWF-1694
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright 2004-2012 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.faces.webflow;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* @deprecated Use FlowResourceResolver
|
||||
*/
|
||||
@Deprecated
|
||||
public class Jsf2FlowResourceResolver extends FlowResourceResolver {
|
||||
|
||||
Log logger = LogFactory.getLog(FlowExternalContext.class);
|
||||
|
||||
public Jsf2FlowResourceResolver() {
|
||||
this.logger.warn("Jsf2FlowResourceResolver has been deprecated, please update your faces-config.xml to use FlowResourceResolver");
|
||||
}
|
||||
}
|
||||
@@ -35,21 +35,14 @@ public class JsfRuntimeInformation {
|
||||
private static final ClassLoader CLASSLOADER = JsfRuntimeInformation.class.getClassLoader();
|
||||
|
||||
|
||||
/** JSF Version 2.2 */
|
||||
public static final int JSF_22 = 4;
|
||||
|
||||
/** JSF Version 2.1 */
|
||||
public static final int JSF_21 = 3;
|
||||
|
||||
/** JSF Version 2.0 */
|
||||
public static final int JSF_20 = 2;
|
||||
|
||||
/** @deprecated As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement */
|
||||
@Deprecated
|
||||
public static final int JSF_12 = 1;
|
||||
|
||||
/** @deprecated As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement */
|
||||
@Deprecated
|
||||
public static final int JSF_11 = 0;
|
||||
|
||||
private static final int jsfVersion;
|
||||
@@ -66,7 +59,6 @@ public class JsfRuntimeInformation {
|
||||
} else {
|
||||
jsfVersion = JSF_11;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final boolean mojarraPresent =
|
||||
@@ -91,14 +83,10 @@ public class JsfRuntimeInformation {
|
||||
return jsfVersion >= JSF_20;
|
||||
}
|
||||
|
||||
/** @deprecated As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement */
|
||||
@Deprecated
|
||||
public static boolean isAtLeastJsf12() {
|
||||
return jsfVersion >= JSF_12;
|
||||
}
|
||||
|
||||
/** @deprecated As of Web Flow 2.4.0 JSF 2.0 is a minimum requirement */
|
||||
@Deprecated
|
||||
public static boolean isLessThanJsf20() {
|
||||
return jsfVersion < JSF_20;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user