Skip to content

Commit

Permalink
ARTEMIS-5210 bump com.google.errorprone:error_prone_core from 2.31.0 …
Browse files Browse the repository at this point in the history
…to 2.36.0
  • Loading branch information
jbertram committed Dec 11, 2024
1 parent ca8d57e commit b8c844c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ public void parseToJSON(T object, JsonObjectBuilder builder, boolean ignoreNullA
}
} else if (type == Boolean.class) {
builder.add(name, (Boolean) value);
/* This is the same as the default, but keeping this in case we have to deal with Enums in the future
} else if (Enum.class.isAssignableFrom(type)) {
// I know this is the same as the default else clause further down
// but i wanted to have a separate branch in case we have to deal with it later
builder.add(name, String.valueOf(value));
builder.add(name, String.valueOf(value));*/
} else {
builder.add(name, String.valueOf(value));
}
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<jetty.version>10.0.24</jetty.version>
<jetty-servlet-api.version>4.0.6</jetty-servlet-api.version>
<jgroups.version>5.3.13.Final</jgroups.version>
<errorprone.version>2.31.0</errorprone.version>
<errorprone.version>2.36.0</errorprone.version>
<maven.bundle.plugin.version>5.1.9</maven.bundle.plugin.version>
<jib.maven.plugin.version>3.4.4</jib.maven.plugin.version>
<versions.maven.plugin.version>2.16.1</versions.maven.plugin.version>
Expand Down Expand Up @@ -331,6 +331,7 @@
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
<arg>--should-stop=ifError=FLOW</arg>
</compilerArgs>
<annotationProcessorPaths combine.children="append">
<path>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1952,9 +1952,9 @@ public void testPrepareReclaim() throws Exception {
journal.processBackup();
List<String> files10 = fileFactory.listFiles(fileExtension);

assertEquals(journal.getAlignment() == 1 ? 5 : 5, files10.size());
assertEquals(5, files10.size());

assertEquals(journal.getAlignment() == 1 ? 3 : 3, journal.getDataFilesCount());
assertEquals(3, journal.getDataFilesCount());
assertEquals(0, journal.getFreeFilesCount());
assertEquals(2, journal.getIDMapSize());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void testFlow() throws Exception {
} else if (protocol.equals("OPENWIRE")) {
factoryClient = CFUtil.createConnectionFactory("OPENWIRE", "tcp://localhost:61616"); // no flow control on openwire by default
} else {
factoryClient = CFUtil.createConnectionFactory("OPENWIRE", "tcp://localhost:61616"); // no flow control on openwire by default
throw new IllegalStateException("protocol not defined!");
}

Connection connectionConsumer = factoryClient.createConnection();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void testSubscription() throws Exception {
} else if (protocol.equals("OPENWIRE")) {
factoryClient = CFUtil.createConnectionFactory("OPENWIRE", "tcp://localhost:61616"); // no flow control on openwire by default
} else {
factoryClient = CFUtil.createConnectionFactory("OPENWIRE", "tcp://localhost:61616"); // no flow control on openwire by default
throw new IllegalStateException("protocol not defined!");
}

{
Expand Down

0 comments on commit b8c844c

Please sign in to comment.