Skip to content

Commit

Permalink
Fix a minor code-health-ish TODO.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178634431
  • Loading branch information
tbreisacher authored and brad4d committed Dec 11, 2017
1 parent 98bd2af commit 8ca4910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/google/javascript/rhino/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -2343,7 +2343,7 @@ public final Node useSourceInfoIfMissingFromForTree(Node other) {
* #getDeclaredTypeExpression()} which returns the syntactically specified type.
*/
@Nullable
public JSType getJSType() { // TODO(johnlenz): make this final
public final JSType getJSType() {
return typei instanceof JSType ? (JSType) typei : null;
}

Expand Down

0 comments on commit 8ca4910

Please sign in to comment.