Skip to content

Commit

Permalink
Merge pull request #290 from red6/dependabot/maven/checker.framework.…
Browse files Browse the repository at this point in the history
…version-3.43.0

Bump checker.framework.version from 3.42.0 to 3.46.0
  • Loading branch information
pSub authored Oct 9, 2024
2 parents 70fc321 + 35ac204 commit 48f43b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ValidationContext {

private static class Memoizer<T, U> {

private final Map<Class<T>, U> cache = new ConcurrentHashMap<>();
private final Map<Class<T>, @NonNull U> cache = new ConcurrentHashMap<>();

private Function<Class<T>, U> doMemoize(final Function<Class<T>, @NonNull U> function) {
return input -> cache.computeIfAbsent(input, function);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>

<checker.framework.version>3.42.0</checker.framework.version>
<checker.framework.version>3.48.0</checker.framework.version>

<junit.version>5.11.1</junit.version>
<mockito.version>5.14.1</mockito.version>
Expand Down
5 changes: 5 additions & 0 deletions validators/checkerframework/stubs/jparsec.astub
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import org.checkerframework.checker.regex.qual.Regex;
package org.jparsec.pattern;
public final class Patterns {
public static Pattern regex(@Regex String s);
}
6 changes: 6 additions & 0 deletions validators/checkerframework/stubs/jsonobject.astub
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import org.checkerframework.checker.nullness.qual.Nullable;
package org.json;

public class JSONObject {
public JSONObject put(String key, @Nullable Object value) throws JSONException;
}

0 comments on commit 48f43b1

Please sign in to comment.