Java6 re-enabled

This commit is contained in:
Jeroen van Erp
2016-09-02 16:54:21 +02:00
parent 766d292bad
commit 8c7d2fa8d0
3 changed files with 7 additions and 3 deletions

View File

@@ -1,2 +1,6 @@
language: java
sudo: false
jdk:
- oraclejdk7
- oraclejdk8
- openjdk6

View File

@@ -15,8 +15,8 @@ repositories {
mavenCentral()
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.6
targetCompatibility = 1.6
configurations.compile.transitive = false

View File

@@ -139,7 +139,7 @@ public class AuthPasswordTest {
}
private static class StaticPasswordUpdateProvider implements PasswordUpdateProvider {
private Stack<String> newPasswords = new Stack<>();
private Stack<String> newPasswords = new Stack<String>();
public StaticPasswordUpdateProvider(String... newPasswords) {
for (int i = newPasswords.length - 1; i >= 0; i--) {