Projects
openEuler:24.03:SP1:Everything:64G
avalon-logkit
_service:tar_scm:0002-Port-to-Java-7.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0002-Port-to-Java-7.patch of Package avalon-logkit
From 02cbfaf4835946ce72b454da3696240313772a07 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski <mizdebsk@redhat.com> Date: Tue, 14 Jun 2016 13:49:00 +0200 Subject: [PATCH 2/3] Port to Java 7 --- src/java/org/apache/log/output/db/DefaultDataSource.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/java/org/apache/log/output/db/DefaultDataSource.java b/src/java/org/apache/log/output/db/DefaultDataSource.java index c19b507..864c48a 100644 --- a/src/java/org/apache/log/output/db/DefaultDataSource.java +++ b/src/java/org/apache/log/output/db/DefaultDataSource.java @@ -111,4 +111,12 @@ public class DefaultDataSource { m_logWriter = logWriter; } + + public boolean isWrapperFor(Class<?> iface) { + return false; + } + + public <T> T unwrap(java.lang.Class<T> iface) {return null;} + + public java.util.logging.Logger getParentLogger() {return null;} } -- 2.5.5
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