Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-magic-numbers: Make condition lazy (don't call .getText() for every number literal in the file) #2042

Merged
merged 1 commit into from
Jan 15, 2017

Conversation

andy-hanson
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update
  • Enable CircleCI for your fork (https://circleci.com/add-projects)

What changes did you make?

Changed to avoid calling node.getText() for every number literal.

@nchen63 nchen63 merged commit da603e6 into palantir:master Jan 15, 2017
@nchen63
Copy link
Contributor

nchen63 commented Jan 15, 2017

lgtm, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants