Skip to content

Commit 9e59bda

Browse files
committed
remove comment/dead code
1 parent d01a074 commit 9e59bda

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/java/graphql/Scalars.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package graphql;
22

33

4-
import java.math.BigInteger;
5-
64
import graphql.language.BooleanValue;
75
import graphql.language.FloatValue;
86
import graphql.language.IntValue;
97
import graphql.language.StringValue;
108
import graphql.schema.Coercing;
119
import graphql.schema.GraphQLScalarType;
1210

11+
import java.math.BigInteger;
12+
1313
public class Scalars {
1414

1515

@@ -34,8 +34,6 @@ public Object parseValue(Object input) {
3434
public Object parseLiteral(Object input) {
3535
if (!(input instanceof IntValue)) return null;
3636
BigInteger value = ((IntValue) input).getValue();
37-
// Check if out of bounds.
38-
Integer.parseInt(value.toString());
3937
return value.intValue();
4038
}
4139
});

0 commit comments

Comments
 (0)