Skip to content
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

Bump org.jboss.logging:jboss-logging to 3.6.0.Final #308

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package io.smallrye.common.constraint;

import static java.lang.invoke.MethodHandles.lookup;

import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageBundle;

@MessageBundle(projectCode = "SRCOM", length = 5)
interface Messages {
Messages log = org.jboss.logging.Messages.getBundle(Messages.class);
Messages log = org.jboss.logging.Messages.getBundle(lookup(), Messages.class);

@Message(id = 0, value = "Parameter '%s' may not be null")
IllegalArgumentException nullParam(String paramName);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package io.smallrye.common.expression;

import static java.lang.invoke.MethodHandles.lookup;

import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageBundle;

@MessageBundle(projectCode = "SRCOM", length = 5)
interface Messages {
Messages msg = org.jboss.logging.Messages.getBundle(Messages.class);
Messages msg = org.jboss.logging.Messages.getBundle(lookup(), Messages.class);

@Message(id = 1000, value = "Invalid expression syntax at position %d")
String invalidExpressionSyntax(int index);
Expand Down
4 changes: 3 additions & 1 deletion net/src/main/java/io/smallrye/common/net/Messages.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package io.smallrye.common.net;

import static java.lang.invoke.MethodHandles.lookup;

import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageBundle;

@MessageBundle(projectCode = "SRCOM", length = 5)
interface Messages {
Messages msg = org.jboss.logging.Messages.getBundle(Messages.class);
Messages msg = org.jboss.logging.Messages.getBundle(lookup(), Messages.class);

@Message(id = 2000, value = "Invalid address string \"%s\"")
IllegalArgumentException invalidAddress(String address);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<version.vertx>4.5.7</version.vertx>
<version.maven-resolver>1.9.20</version.maven-resolver>
<version.shrinkwrap>1.2.6</version.shrinkwrap>
<version.org.jboss.logging>3.5.0.Final</version.org.jboss.logging>
<version.org.jboss.logging>3.6.0.Final</version.org.jboss.logging>

<!-- Sonar settings -->
<sonar.projectName>SmallRye Common</sonar.projectName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.smallrye.common.version;

import static java.lang.invoke.MethodHandles.lookup;

import java.util.NoSuchElementException;

import org.jboss.logging.annotations.Message;
Expand All @@ -8,7 +10,7 @@
// base 3000
@MessageBundle(projectCode = "SRCOM", length = 5)
interface Messages {
Messages msg = org.jboss.logging.Messages.getBundle(Messages.class);
Messages msg = org.jboss.logging.Messages.getBundle(lookup(), Messages.class);

@Message(id = 3000, value = "Expected alpha part")
IllegalStateException expectedAlpha();
Expand Down