-
This is the code:
````
try (Connection cnn = platformFlyway.getDataSource().getConnection(); Statement st = cnn.createStatement(); ResultSet rs = st.executeQuery(query)) {
…
-
```java
switch (x) {
case Map m -> return 1;
default -> return 2;
}
```
This leads to a `DLS_DEAD_LOCAL_STORE` error for the `m` variable. That's a false-positive because Java doesn't …
-
When attempting to build current master (642a46eb17e14f51272c6962e64e56e0960918af) with OpenJDK9 9~b80-2, it fails in Cobertura code coverage module with the following error message:
```
[ERROR] Fail…
-
I updated our code from Java 10 to Java 11 and a bunch of warnings appeared in SpotBugs:
```
DMC_DUBIOUS_MAP_COLLECTION
NP_LOAD_OF_KNOWN_NULL_VALUE
PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS
RCN_…
-
Hi guys,
do you know why there is SelfMethodCalls#interestingSignature method? https://github.com/spotbugs/spotbugs/blob/d999c35c134f5310b688f2b4513e3689fb1439bc/spotbugs/src/main/java/edu/umd/cs/f…
-
Ex: PasswordHashingTest.java[line 29]:
private String generateRandomString(int length) {
byte[] array = new byte[length];
new Random().nextBytes(array);
return new String(array);
}
S…
-
Support for Node.js 12 will soon be dropped by GitHub Actions.
-
The error was copied to the clipboard. Press Ctrl+V
-
I didn't find a way to do it, besides having a separate non-transitive configuration with one dependency and then use `resources.text.fromArchiveEntry(configurations.myConfiguration, 'my-file.txt')`.
…
-
Greetings. I am upgrading from Spring Boot 2.7 to Spring Boot 3. That means I'm going from `spring-data-commons:2.7.18` to `spring-data-commons:3.2.5`. Additionally this upgrade is bringing along a Hi…