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

Quick fix exceptions #863

Merged
merged 2 commits into from Nov 25, 2014
Merged

Quick fix exceptions #863

merged 2 commits into from Nov 25, 2014

Conversation

skyluc
Copy link
Member

@skyluc skyluc commented Nov 25, 2014

The first commit wraps the return value of WordQuickFixProcessor.getCorrections in a Option, as it can return 'null'.
The second one tweaks the call to SafeRunner to avoid to have a duplicate stack trace in case of problem.

The original goal was to fix tickets 1002317 and 1002281, but the real problem lies between Scala compiler and Scala refactoring (scala-ide/scala-refactoring#67).

Luc Bourlier added 2 commits November 25, 2014 15:12
As it will return 'null', if there are no spelling mistake to fix.
SafeRunner already log the stack trace. Tweaked the error message to point
to this stack trace.
@ghprb-bot
Copy link

Test PASSed.

See Console Output in the link below for an update site containing this PR binary artefacts.

Refer to this link for build results: https://jenkins.scala-ide.org:8496/jenkins/job/ghprb-scala-ide-validator/1303/

@dragos
Copy link
Member

dragos commented Nov 25, 2014

LGTM

1 similar comment
@kiritsuku
Copy link
Member

LGTM

kiritsuku added a commit that referenced this pull request Nov 25, 2014
@kiritsuku kiritsuku merged commit 4a18afb into scala-ide:master Nov 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants