[jbosstools-issues] [JBoss JIRA] (JBIDE-15334) Use Java5 method to check if String is empty

Jakub Niedermertl (JIRA) jira-events at lists.jboss.org
Fri Sep 13 04:28:04 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakub Niedermertl updated JBIDE-15334:
--------------------------------------

    Fix Version/s:     (was: 4.2.0.Alpha1)

    
> Use Java5 method to check if String is empty
> --------------------------------------------
>
>                 Key: JBIDE-15334
>                 URL: https://issues.jboss.org/browse/JBIDE-15334
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: archives
>            Reporter: Xavier Coulon
>            Assignee: Rob Stryker
>             Fix For: 4.1.1.Alpha1
>
>
> When importing some Archive projects in a workspace where a Java5 JRE exists, there is a compilation error because of the use of String#isEmpty() which is defined in Java6+ 
> Steps to reproduce:
> Import the Archives projects in a workspace where a JRE5 exists
> Assert: no compilation error
> Fail: compilation errors in archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/interna/xb/XMLBinding.java
> because String#isEmpty() was defined in Java6
> The problem does not appear if the workspace is configured with a Java6 (or more) JRE.

--
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


More information about the jbosstools-issues mailing list