You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/03/03 00:37:28 UTC

[jira] Closed: (MENFORCER-34) Make code Java 1.4 compatible

     [ http://jira.codehaus.org/browse/MENFORCER-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MENFORCER-34.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

patch applied, thanks

> Make code Java 1.4 compatible
> -----------------------------
>
>                 Key: MENFORCER-34
>                 URL: http://jira.codehaus.org/browse/MENFORCER-34
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Task
>          Components: Standard Rules
>            Reporter: Benjamin Bentmann
>            Assignee: Brian Fox
>            Priority: Trivial
>             Fix For: 1.0
>
>         Attachments: java-1.4-compat.patch, java-1.4-compat.patch
>
>
> The plugin's parent POM states Java 1.4 as the target platform but the code does not successfully compile against this.
> The patch simply includes a copy of the JDK code for the offending method {{Arrays.hashCode()}}. Alternatively, you could use {{[HashCodeBuilder|http://commons.apache.org/lang/api-release/org/apache/commons/lang/builder/HashCodeBuilder.html]}} from commons-lang.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira