-
Notifications
You must be signed in to change notification settings - Fork 1.5k
changes based on the results of static code analysis by Findbugs #2324
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
Conversation
@dk2k Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
What do I do now to restart checks? |
@dk2k Thank you for signing the Contributor License Agreement! |
|
||
return classLoader != null && LazyJvmAgent.isActive(loader.getClassLoader()) | ||
AtomicReference<ClassLoader> classLoaderRef = new AtomicReference<>(); | ||
AccessController.doPrivileged(new PrivilegedAction() { |
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.
AccessController
is subject to deprecation and future removal with the deprecation of Java's Security Manager.
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.
will revert related changes then
@@ -160,7 +160,7 @@ | |||
PathNode node = currentNode.add(attribute.getName(), attributeValue); | |||
if (node.spansCycle()) { | |||
throw new InvalidDataAccessApiUsageException( | |||
String.format("Path '%s' from root %s must not span a cyclic property reference!\r\n%s", currentPath, | |||
String.format("Path '%s' from root %s must not span a cyclic property reference!%n%s", currentPath, |
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.
From a general perspective, we should avoid linebreaks in exceptions. That's something we need to address within the team.
Thanks, that's merged. |
As for removed Assert - its condition is always true, can be checked in Intellij Idea as well