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

fix: compile warnings #152

Merged
merged 3 commits into from
Sep 17, 2023
Merged

Conversation

ctasada
Copy link

@ctasada ctasada commented Jun 20, 2023

Description

  • Fixed compile warning indicating the Maven Compiler Plugin was not specified
  • Fixed compile warning indicating the source encoding was not specified
  • Fixed Lombok compile warning indicating the AsyncAPI didn't had proper Builder defaults

Related issue(s)

None

Carlos Tasada added 3 commits June 20, 2023 16:09
It's considered a best practice to specify the Maven Plugin versions, otherwise the used version is not guaranteed and depends on the Maven release.
If no source encoding is specified, Maven defaults to UTF-8, while showing a warning.

Here we specify the used format, which is UTF-8 anyway
The compilation process was complaining about not properly specified defaults.

The `asyncapi` values are supposed to be `final`, but that change breaks the
`AsyncAPI` contract usage in different ways. The alternative is to indicate
the value is the default one for the builder. This solution removes the
warning while keeping the contract expectations.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@ctasada ctasada changed the title fix: Compile Warnings fix: compile warnings Jun 20, 2023
@Pakisan Pakisan changed the base branch from master to develop September 17, 2023 19:05
@Pakisan Pakisan merged commit cdb9fb6 into asyncapi:develop Sep 17, 2023
3 checks passed
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