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

Scalafmt and compiler warning fixes #464

Open
wants to merge 4 commits into
base: remove-repl-mode
Choose a base branch
from
Open

Conversation

adamnfish
Copy link
Contributor

NOTE: this PR is currently based on the remove-repl-mode PR, since there's no need to fix issues with code that is being removed.

What does this change?

This is just about tidying things up ahead of future changes.

Introduces scalafmt into the codebase, to stop us having to think about how things are formatted. We also address the compiler warnings in the project.

What is the value of this?

Tidies things up ahead of updating the AWS Java SDK to v2.

Any additional notes?

The PR simplifies the implementation of the instance resolution logic, to address an incomplete match warning. Other compiler warnings are mostly about Scala 2.x -> 3.x changes, and have been fixed.

A few deprecation warnings remain relating to the AWS v1 SDK (specifically, the use of Regions). The v1 SDK will shortly be replaced with the supported v2 Java SDK, so we can leave these for now.

Simplifies the implementation of the instance resolution logic, to
address an incomplete match warning. Other compiler warnings are
mostly about Scala 2.x -> 3.x changes, and have been fixed.

A few deprecation warnings remain relating to the AWS v1 SDK
(specifically, the use of `Regions`). The v1 SDK will shortly be
replaced with the supported v2 Java SDK, so we can leave these for
now.
Copy link
Member

@kelvin-chappell kelvin-chappell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add commit dd5895b to a git-blame-ignore-revs file?

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