Stephan Schroevers

Results 39 issues of Stephan Schroevers

:exclamation: ~~This PR is on top of #255~~ :exclamation: This PR is a work in progress; @rickie and I have worked on this on-and-off over the past months. Pulling this...

new feature

I'd like to analyze my source code with the [Checker Framework](http://types.cs.washington.edu/checker-framework/), in particular using its [Nullness checker](http://types.cs.washington.edu/checker-framework/current/checker-framework-manual.html#nullness-checker). Some of my code interfaces with JAXB and JAXB-basics generated code. Now, I...

enhancement

This tag produces a warning when compiling with `-Xdoclint:html` and does not affect the final rendering. (Note that this PR was first opened almost a year ago against `gf-metro/jaxb`, but...

Consider the following POM. It defines two identical dependencies in its `` section, but in one case the `groupdId` is specified as a variable, while in the other case it's...

Consider the following dummy code: ```sh $ cat -n Dummy.java 1 import java.util.regex.Matcher; 2 import java.util.regex.Pattern; 3 import org.checkerframework.checker.nullness.qual.NonNull; 4 5 final class Dummy { 6 private static final Pattern...

enhancement
good first issue

Suggested commit message: ``` Introduce `FilesCreateTempFileToFile` Refaster rule ``` Inspired by apache/maven-install-plugin#47, found through #1159.

As of Java 8 there is [`Math.toIntExact`](https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#toIntExact-long-). This method forms an alternative to Guava's [`Ints.checkedCast`](https://google.github.io/guava/releases/24.0-jre/api/docs/com/google/common/primitives/Ints.html#checkedCast-long-), except that the former throws an `ArithmeticException` while the latter throws an `IllegalArgumentException`. Suggestion: update...

type=api-docs
status=triaged
package=primitives
platform=java8
P3

Suggested commit message: ``` Build against early access JDK 23 release (#1329) ```

Suggested commit message: ``` Introduce Refaster rules for Sonar's java:S4635 rule (#1320) As well as two related expressions that can be optimized. See: - https://sonarcloud.io/organizations/picnic-technologies/rules?open=java%3AS4635&rule_key=java%3AS4635 - https://github.com/SonarSource/sonar-java/blob/26157927314eed0105449e8c7bc7e86c34148a83/java-checks/src/main/java/org/sonar/java/checks/StringOffsetMethodsCheck.java ```

new feature

Both `KeyValues` and `Tags` unconditionally maintain the invariant that they wrap distinct key-value pairs.

area/performance
status/need-user-input