Skip to content

Commit

Permalink
Fix build failure (#528)
Browse files Browse the repository at this point in the history
* Fix CheckStyle violations

* Add missing override annotations

The PureUtilities CheckOverrides causes the build to fail when @OverRide annotations are missing.
  • Loading branch information
Pieter12345 authored and LadyCailin committed Jun 21, 2019
1 parent 2a3263e commit ebd8842
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Expand Up @@ -100,7 +100,7 @@ public static boolean CanDryEval(ParseTree data) {
} else {
return false;
}
} catch(ConfigCompileException ex) {
} catch (ConfigCompileException ex) {
return false;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/laytonsmith/core/objects/Element.java
Expand Up @@ -113,6 +113,7 @@ public boolean isNativeField() {
* The access modifier of the element.
* @return
*/
@Override
public AccessModifier getAccessModifier() {
return accessModifier;
}
Expand Down Expand Up @@ -159,6 +160,7 @@ public String getElementName() {
return name;
}

@Override
public Target getTarget() {
return t;
}
Expand Down
Expand Up @@ -9,7 +9,6 @@
import com.laytonsmith.core.constructs.CNull;
import com.laytonsmith.core.constructs.Construct;
import com.laytonsmith.core.constructs.Target;
import com.laytonsmith.core.environments.Environment;
import com.laytonsmith.core.natives.interfaces.Mixed;
import java.lang.reflect.Field;
import java.util.Objects;
Expand Down Expand Up @@ -135,6 +134,7 @@ public boolean isNativeField() {
* The access modifier of the element.
* @return
*/
@Override
public AccessModifier getAccessModifier() {
return accessModifier;
}
Expand Down Expand Up @@ -174,6 +174,7 @@ public String getElementName() {
return name;
}

@Override
public Target getTarget() {
return t;
}
Expand Down
Expand Up @@ -20,7 +20,6 @@
import java.util.EnumSet;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;

Expand Down

0 comments on commit ebd8842

Please sign in to comment.