Checkstyle tweaks and fix remaining checkstyle warnings

This commit is contained in:
Mumfrey committed 2014-12-29 16:10:09 +00:00
1 parent 2c93c43ddf
commit ef30698318
5 files changed
+6 -4

No files matched your search

@@ -32,7 +32,7 @@ import java.lang.annotation.Target;
/**
* Used to indicate a Mixin class member which should overwrite a method in the target class
*/
@Target({ElementType.METHOD})
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Overwrite {
@@ -32,7 +32,7 @@ import java.lang.annotation.Target;
/**
* Used to indicate a Mixin class member which is acting as a placeholder for a method or field in the target class
*/
@Target({ElementType.METHOD, ElementType.FIELD})
@Target({ ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Shadow {
@@ -32,7 +32,7 @@ import java.lang.annotation.Target;
/**
* Specifies that this mixin method should inject a callback (or callback<b>s</b>) to itself in the target method(s) identified by {@link #method}.
*/
@Target({ElementType.METHOD})
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Inject {
@@ -503,6 +503,7 @@ public class ASMHelper {
return (T) enumField;
}
} catch (NoSuchFieldException e) {
// don't care
}
return defaultValue;
}