[
http://jira.amdatu.org/jira/browse/AMDATU-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10108#action_10108
]
Ivo Ladage - van Doorn commented on AMDATU-122:
-----------------------------------------------
I think we should target 1.5. The @Override annotation is added by default
using my Eclipse formatter, so we should remove it from the source and fix it
in the Eclipse formatter. The latter still has to be placed on the WIKI.
Angelo, you posted that you would upload the Eclipse formatter and code style
files to the WIKI, can you make that so?
> Maven has jre target 1.5 but the code isn't 1.5 compliant
> ---------------------------------------------------------
>
> Key: AMDATU-122
> URL: http://jira.amdatu.org/jira/browse/AMDATU-122
> Project: Amdatu
> Issue Type: Bug
> Components: Maven setup
> Reporter: Koos Gadellaa
> Assignee: Ivo Ladage - van Doorn
> Priority: Blocker
>
> The maven setup in the main pom has the following:
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> i.e. it requires and targets 1.5
> However, the amdatu code itself also uses @overrides when implementing
> interfaces. This is a 1.6 feature. :-/
> i.e. a (proper) 1.5 compiler will not be able to build this code.
> fix would be either to go to 1.6 (and update the pom), or to remove the
> @overrides annotations from the methods which implement interfaces.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.amdatu.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira