Skip to content

Commit

Permalink
Bump org.jboss.logging:jboss-logging to 1.6.0.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed May 7, 2024
1 parent cba6ef5 commit 7810c6c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
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

0 comments on commit 7810c6c

Please sign in to comment.