Skip to content

Commit

Permalink
Remove redundant isNullable overrides.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196699972
  • Loading branch information
shicks authored and blickly committed May 15, 2018
1 parent 370c730 commit 950cffa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/com/google/javascript/rhino/jstype/BooleanType.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ public class BooleanType extends ValueType {
super(registry);
}

@Override
public boolean isNullable() {
return false;
}

@Override
public TernaryValue testForEquality(JSType that) {
TernaryValue result = super.testForEquality(that);
Expand Down
5 changes: 0 additions & 5 deletions src/com/google/javascript/rhino/jstype/NumberType.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ public class NumberType extends ValueType {
super(registry);
}

@Override
public boolean isNullable() {
return false;
}

@Override
public TernaryValue testForEquality(JSType that) {
TernaryValue result = super.testForEquality(that);
Expand Down

0 comments on commit 950cffa

Please sign in to comment.