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

ZOOKEEPER-3351 - Fix findBugs and rat check, add filename to sha #907

Closed
wants to merge 2 commits into from

Conversation

nkalmar
Copy link
Contributor

@nkalmar nkalmar commented Apr 12, 2019

Note: this is only for master, for 3.5 branch it needs a different PR!
Correction: I will test this on 3.5 branch first!

@anmolnar
Copy link
Contributor

Looks good. Please add the spotbugs ignore.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Good. Add spotbug and we are done

@nkalmar
Copy link
Contributor Author

nkalmar commented Apr 12, 2019

Tested spotBugs, it now passes with versions without SNAPSHOT as well.

Testing this patch on 3.5 branch to see if it can be merged or new PR is required.

Edit: This PR fixes 3.5 branch as well, but it is conflicting, so I'll create a PR for 3.5 anyway.

@nkalmar nkalmar changed the title ZOOKEEPER-3351 - add rat exceptions and fix sha generation ZOOKEEPER-3351 - Fix findBugs and rat check, add filename to sha Apr 12, 2019
@@ -41,6 +42,8 @@ public static String getBuildDate() {
return BUILD_DATE;
}

@SuppressFBWarnings(value = "RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE",
justification = "If SNAPSHOT is missing from version number this is redundant")
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's say "QUALIFIER" instead of "SNAPSHOT".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rephased the message

Copy link
Contributor

@anmolnar anmolnar left a comment

Choose a reason for hiding this comment

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

+1

@nkalmar
Copy link
Contributor Author

nkalmar commented Apr 12, 2019

retest ant build

@asfgit asfgit closed this in d719b68 Apr 12, 2019
@anmolnar
Copy link
Contributor

Committed to master branch. Thanks @nkalmar !

RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Note: this is only for master, for 3.5 branch it needs a different PR!
Correction: I will test this on 3.5 branch first!

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: andor@apache.org

Closes apache#907 from nkalmar/ZK-3351 and squashes the following commits:

ca77153 [Norbert Kalmar] ZOOKEEPER-3351 - fix findBugs issue on released versions
161df0b [Norbert Kalmar] ZOOKEEPER-3351 - add rat exceptions and fix sha generation
@nkalmar nkalmar deleted the ZK-3351 branch October 6, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants