revert back compiler target/source to 1.6 see http://jira.codehaus.org/browse/MRM-1827

This commit is contained in:
Olivier Lamy 2014-04-11 10:05:55 +10:00
parent 41979d0ddb
commit 34daedb551
2 changed files with 11 additions and 1 deletions

10
pom.xml
View File

@ -671,6 +671,16 @@
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!-- due to issue with bcel using 1.7 as target doesn't work -->
<!-- http://jira.codehaus.org/browse/MRM-1827 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>jpox-maven-plugin</artifactId> <artifactId>jpox-maven-plugin</artifactId>

View File

@ -96,7 +96,7 @@ public class AuthenticationResult
{ {
if ( authenticationFailureCauses == null ) if ( authenticationFailureCauses == null )
{ {
this.authenticationFailureCauses = new ArrayList<>(); this.authenticationFailureCauses = new ArrayList<AuthenticationFailureCause>();
} }
return authenticationFailureCauses; return authenticationFailureCauses;
} }