Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor code refactoring to get rid of some compiler suggestions: #250

Merged
merged 1 commit into from
Jan 26, 2016

Conversation

JordanMartinez
Copy link
Contributor

  • Replace "(arg1, arg2) -> arg1.method(arg2)" lambdas with method references
  • Removed explicit type since it can be inferred (e.g. "<PS, S>" --> "<>")
  • Removed unneeded semi-colons
  • Removed unused Type parameter ""
  • Removed initialParagraphStyle from createCell() since it isn't used there.
  • Made omniSuspendable a local variable since suspending EditableStyledDocument's beingUpdatedProperty() suspends all clones' Suspendables now instead of omniSuspendable

- Replace "(arg1, arg2) -> arg1.method(arg2)" lambdas with method references
- Removed explicit type since it can be inferred (e.g. "<PS, S>" --> "<>")
- Removed unneeded semi-colons
- Removed unused Type parameter "<C>"
- Removed `initialParagraphStyle` from `createCell()` since it isn't used there.
- Made `omniSuspendable` a local variable since suspending EditableStyledDocument's `beingUpdatedProperty()` suspends all clones' Suspendables now instead of `omniSuspendable`
@TomasMikula
Copy link
Member

👍

TomasMikula added a commit that referenced this pull request Jan 26, 2016
Minor code refactoring to get rid of some compiler suggestions:
@TomasMikula TomasMikula merged commit f24792a into FXMisc:master Jan 26, 2016
@JordanMartinez JordanMartinez deleted the minorCodeCleanup branch January 26, 2016 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants