Pavol Pitonak created RF-13036:
----------------------------------
Summary: Refactor usage of deprecated code
Key: RF-13036
URL:
https://issues.jboss.org/browse/RF-13036
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.0.0.Alpha1
Reporter: Pavol Pitonak
Priority: Minor
RichFaces 5 code base uses deprecated code a lot:
# [WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/java/org/richfaces/javascript/JavaScriptServiceImpl.java:[41,45]
[deprecation] ValueBinding in javax.faces.el has been deprecated
# [WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[383,40]
[deprecation] createMethodBinding(String,Class<?>[]) in Application has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[293,23]
[deprecation] createComponent(ValueBinding,FacesContext,String) in Application has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[214,16]
[deprecation] setVariableResolver(VariableResolver) in Application has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[202,43]
[deprecation] getVariableResolver() in Application has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[190,16]
[deprecation] setPropertyResolver(PropertyResolver) in Application has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[178,43]
[deprecation] getPropertyResolver() in Application has been deprecated
# [WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[67,38]
[deprecation] FastBufferInputStream(FastBufferOutputStream) in FastBufferInputStream has
been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[144,33]
[deprecation] FastBufferReader(FastBufferWriter) in FastBufferReader has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[221,38]
[deprecation] FastBufferInputStream(FastBufferOutputStream) in FastBufferInputStream has
been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[299,33]
[deprecation] FastBufferReader(FastBufferWriter) in FastBufferReader has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/LengthValidatorTest.java:[83,45]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/LengthValidatorTest.java:[84,90]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/ui/ajax/AbstractQueueComponentTest.java:[121,8]
[deprecation] assertEquals(String,double,double) in Assert has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/ui/ajax/AbstractQueueComponentTest.java:[122,8]
[deprecation] assertEquals(String,double,double) in Assert has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[77,34]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[78,34]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[83,39]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[84,39]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[89,36]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[90,36]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[98,35]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[103,39]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[108,43]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[116,51]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[121,55]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[126,59]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[134,51]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[139,55]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[144,56]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[149,59]
[deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[162,51]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[167,49]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[172,51]
[deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been
deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[81,93]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[82,93]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[83,92]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[84,81]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
[WARNING]
/mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[86,53]
[deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
# [WARNING] org.richfaces.resource.plugin.ProcessMojo#compress:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#encoding:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#pack:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#project:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#resourcesOutputDir:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#skins:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#staticResourceMappingFile:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] org.richfaces.resource.plugin.ProcessMojo#staticResourcePrefix:
[WARNING] The syntax
[WARNING] @parameter expression="$\{property\}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira