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