-
Notifications
You must be signed in to change notification settings - Fork 248
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
[query] fix remaining scala warnings #14188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing major here.
@@ -455,7 +447,6 @@ object ServiceBackendAPI { | |||
assert(argv.length == 7, argv.toFastSeq) | |||
|
|||
val scratchDir = argv(0) | |||
val logFile = argv(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any documentation as to what these argv mean other than the code? It seems easy to forget the meaning of these arguments otherwise.
val logFile = argv(1) | ||
var jarLocation = argv(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
@@ -28,7 +28,7 @@ abstract class StateMachine[A] { | |||
object StateMachine { | |||
def terminal[A]: StateMachine[A] = new StateMachine[A] { | |||
val isValid = false | |||
var value: A = _ | |||
val value: A = ??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This errors every time terminal
is called.
No description provided.