Skip to content

Commit

Permalink
Enable checkstyle again
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Dec 4, 2014
1 parent 93198bf commit 70c2a42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bom/pom.xml
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
<version>31</version>
<version>32</version>
</parent>

<name>Weld APIs BOM</name>
Expand Down Expand Up @@ -35,7 +35,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<javadoc.doclint>-Xdoclint</javadoc.doclint>
<build.config.version>8</build.config.version>
<build.config.version>9</build.config.version>

<atinject.api.version>1</atinject.api.version>
<cdi.api.version>1.2</cdi.api.version>
Expand Down
Expand Up @@ -46,7 +46,8 @@ public interface ExperimentalAnnotated extends Annotated {
* @param annotationClass the Class object corresponding to the annotation type
* @return all this element's annotations for the specified annotation type if associated with this element, else an array of length zero
*/
@SuppressWarnings("unchecked")
// https://github.com/checkstyle/checkstyle/issues/364
@SuppressWarnings({ "unchecked", "checkstyle:redundantmodifier" })
default <T extends Annotation> Set<T> getAnnotationsByType(Class<T> annotationClass) {
Objects.requireNonNull(annotationClass, "annotationClass");
// first, delegate to getAnnotation()
Expand Down

0 comments on commit 70c2a42

Please sign in to comment.