Projects
Mega:23.09
weld-core
_service:tar_scm:0001-Add-support-for-newer-jbo...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Add-support-for-newer-jboss-logging-tools.patch of Package weld-core
From c57f3b50126a45c99d6e46d70675ab7213ca9f32 Mon Sep 17 00:00:00 2001 From: Marek Goldmann <marek.goldmann@gmail.com> Date: Mon, 23 Mar 2015 12:29:23 +0100 Subject: [PATCH] Add support for newer jboss-logging-tools --- .../org/jboss/weld/environment/logging/WeldEnvironmentLogger.java | 3 +++ impl/src/main/java/org/jboss/weld/logging/WeldLogger.java | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/environments/common/src/main/java/org/jboss/weld/environment/logging/WeldEnvironmentLogger.java b/environments/common/src/main/java/org/jboss/weld/environment/logging/WeldEnvironmentLogger.java index 027929a..f09a168 100644 --- a/environments/common/src/main/java/org/jboss/weld/environment/logging/WeldEnvironmentLogger.java +++ b/environments/common/src/main/java/org/jboss/weld/environment/logging/WeldEnvironmentLogger.java @@ -1,17 +1,20 @@ package org.jboss.weld.environment.logging; +import static org.jboss.weld.environment.logging.WeldEnvironmentLogger.WELD_ENV_PROJECT_CODE; import org.jboss.logging.BasicLogger; import org.jboss.logging.Logger.Level; import org.jboss.logging.annotations.Cause; import org.jboss.logging.annotations.LogMessage; import org.jboss.logging.annotations.Message; +import org.jboss.logging.annotations.MessageLogger; /** * * @author Matej Briškár * @author Martin Kouba */ +@MessageLogger(projectCode = WELD_ENV_PROJECT_CODE) public interface WeldEnvironmentLogger extends BasicLogger { String CATCHING_MARKER = "Catching"; diff --git a/impl/src/main/java/org/jboss/weld/logging/WeldLogger.java b/impl/src/main/java/org/jboss/weld/logging/WeldLogger.java index 184d3d7..f4a0778 100644 --- a/impl/src/main/java/org/jboss/weld/logging/WeldLogger.java +++ b/impl/src/main/java/org/jboss/weld/logging/WeldLogger.java @@ -16,17 +16,21 @@ */ package org.jboss.weld.logging; +import static org.jboss.weld.logging.WeldLogger.WELD_PROJECT_CODE; + import org.jboss.logging.BasicLogger; import org.jboss.logging.Logger.Level; import org.jboss.logging.annotations.Cause; import org.jboss.logging.annotations.LogMessage; import org.jboss.logging.annotations.Message; +import org.jboss.logging.annotations.MessageLogger; /** * A source of localized log/bundle messages and exceptions. Note that this interface extends {@link BasicLogger} so that regular logger methods are available. * * @author Martin Kouba */ +@MessageLogger(projectCode = WELD_PROJECT_CODE) public interface WeldLogger extends BasicLogger { String CATCHING_MARKER = "Catching"; -- 2.3.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2