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

Rewrite noEmptyRule #1976

Merged
merged 1 commit into from Jan 3, 2017
Merged

Rewrite noEmptyRule #1976

merged 1 commit into from Jan 3, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Jan 3, 2017

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?

Rewrite for performance:
Return early if block has statements.
Simplify skipping constructors with parameter properties.
Pass SourceFile as parameter to node.getChild* methods.

Rewrite for performance:
Return early if block has statements.
Simplify skipping constructors with parameter properties.
Pass SourceFile as parameter to node.getChild* methods.
@nchen63 nchen63 merged commit 71f6cf7 into palantir:master Jan 3, 2017
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.

None yet

2 participants