Skip to content

Commit 1a14710

Browse files
committed
Checkstyle
1 parent f9e3249 commit 1a14710

4 files changed

Lines changed: 10 additions & 14 deletions

File tree

src/main/java/com/laytonsmith/core/MethodScriptCompiler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import com.laytonsmith.core.compiler.TokenStream;
2222
import com.laytonsmith.core.compiler.analysis.StaticAnalysis;
2323
import com.laytonsmith.core.constructs.CBareString;
24-
import com.laytonsmith.core.constructs.CClassType;
2524
import com.laytonsmith.core.constructs.CDecimal;
2625
import com.laytonsmith.core.constructs.CDouble;
2726
import com.laytonsmith.core.constructs.CFunction;
@@ -37,7 +36,6 @@
3736
import com.laytonsmith.core.constructs.CVoid;
3837
import com.laytonsmith.core.constructs.Construct;
3938
import com.laytonsmith.core.constructs.IVariable;
40-
import com.laytonsmith.core.constructs.LeftHandSideType;
4139
import com.laytonsmith.core.constructs.Target;
4240
import com.laytonsmith.core.constructs.Token;
4341
import com.laytonsmith.core.constructs.Token.TType;

src/main/java/com/laytonsmith/core/Procedure.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.laytonsmith.PureUtilities.SmartComment;
55
import com.laytonsmith.core.constructs.Auto;
66
import com.laytonsmith.core.constructs.CArray;
7-
import com.laytonsmith.core.constructs.CClassType;
87
import com.laytonsmith.core.constructs.CFunction;
98
import com.laytonsmith.core.constructs.CNull;
109
import com.laytonsmith.core.constructs.CVoid;

src/main/java/com/laytonsmith/core/constructs/LeftHandSideType.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -631,16 +631,6 @@ public boolean isNull() {
631631
return CNull.TYPE.equals(types.get(0).getType());
632632
}
633633

634-
/**
635-
* This should ONLY be used when building native signatures, but otherwise behaves the same as
636-
* {@link #toLeftHandGenericUse()}
637-
*
638-
* @return An equivalent LeftHandGenericUse statement.
639-
*/
640-
public LeftHandGenericUseParameter toNativeLeftHandGenericUse(CClassType forType, int parameterPosition) {
641-
return toLeftHandGenericUse(forType, Target.UNKNOWN, null, ConstraintLocation.LHS, parameterPosition);
642-
}
643-
644634
@Override
645635
public LeftHandSideType asLeftHandSideType() {
646636
return this;
@@ -651,6 +641,16 @@ public static interface Renderer {
651641
LeftHandGenericUseParameter render(CClassType forType, int parameterPosition);
652642
}
653643

644+
/**
645+
* This should ONLY be used when building native signatures, but otherwise behaves the same as
646+
* {@link #toLeftHandGenericUse()}
647+
*
648+
* @return An equivalent LeftHandGenericUse statement.
649+
*/
650+
public LeftHandGenericUseParameter toNativeLeftHandGenericUse(CClassType forType, int parameterPosition) {
651+
return toLeftHandGenericUse(forType, Target.UNKNOWN, null, ConstraintLocation.LHS, parameterPosition);
652+
}
653+
654654
public Renderer toNativeLeftHandGenericUse() {
655655
return new Renderer() {
656656
@Override

src/main/java/com/laytonsmith/core/constructs/generics/constraints/VariadicTypeConstraint.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import com.laytonsmith.core.constructs.generics.ConstraintValidator;
99
import com.laytonsmith.core.environments.Environment;
1010
import com.laytonsmith.core.exceptions.CRE.CREGenericConstraintException;
11-
import com.laytonsmith.core.exceptions.ConfigCompileException;
1211
import java.util.EnumSet;
1312
import java.util.Set;
1413

0 commit comments

Comments
 (0)