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

[query] fix remaining scala warnings #14188

Merged
merged 5 commits into from
Jan 26, 2024

Conversation

patrick-schultz
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@chrisvittal chrisvittal left a 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)
Copy link
Collaborator

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.

Comment on lines -107 to -108
val logFile = argv(1)
var jarLocation = argv(2)
Copy link
Collaborator

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 = ???
Copy link
Collaborator

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.

@patrick-schultz patrick-schultz dismissed chrisvittal’s stale review January 24, 2024 20:38

Good catches, thanks!

@danking danking merged commit 728f43b into hail-is:main Jan 26, 2024
8 checks passed
@patrick-schultz patrick-schultz deleted the fix-remaining-warnings branch April 11, 2024 10:51
chrisvittal pushed a commit to chrisvittal/hail that referenced this pull request Jul 10, 2024
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.

3 participants