Skip to content

Commit

Permalink
upgrade JDK from 1.6 to 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
worksap-bot committed Mar 21, 2014
1 parent a74ff2e commit 50b9537
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: java
jdk:
- openjdk6
- openjdk7
script: "mvn clean install"
after_success:
- mvn clean test jacoco:report coveralls:jacoco
notifications:
email:
recipients:
- [email protected]
- [email protected]
- [email protected]
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To use this product, please configure your findbugs-maven-plugin like below.
<plugin>
<groupId>jp.co.worksap.oss</groupId>
<artifactId>findbugs-plugin</artifactId>
<version>0.0.2</version>
<version>0.0.3-SNAPSHOT</version>
</plugin>
</plugins>
</configuration>
Expand All @@ -27,6 +27,10 @@ To use this product, please configure your findbugs-maven-plugin like below.

# history

## 0.0.3

- upgraded JDK from 1.6 to 1.7

## 0.0.2

- added BrokenImmutableClassDetector
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ private TypeQualifierAnnotation findDefaultAnnotation(XMethod xMethod,
} else {
return null;
}
} catch (SecurityException e) {
throw new IllegalStateException(e);
} catch (IllegalAccessException e) {
} catch (SecurityException | IllegalAccessException e) {
throw new IllegalStateException(e);
} catch (InvocationTargetException e) {
throw new IllegalArgumentException(e);
Expand All @@ -93,9 +91,7 @@ private void detectUnknowNullnessOfReturnedValue(Method method,
.getDeclaredMethod("getDefaultAnnotation",
AnnotatedObject.class, TypeQualifierValue.class, ElementType.class);
GET_DEFAULT_ANNOTATION.setAccessible(true);
} catch (SecurityException e) {
throw new IllegalStateException(e);
} catch (NoSuchMethodException e) {
} catch (SecurityException | NoSuchMethodException e) {
throw new IllegalStateException(e);
}
}
Expand Down

0 comments on commit 50b9537

Please sign in to comment.