1 |
commit: a90286dc12ee3b2df55e3cc9342501bfb0ca3cbf |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 30 18:42:41 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 1 21:23:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90286dc |
7 |
|
8 |
dev-java/avalon-logkit: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/6360 |
11 |
|
12 |
.../files/avalon-logkit-1.2.2-java7.patch | 30 ---------------------- |
13 |
1 file changed, 30 deletions(-) |
14 |
|
15 |
diff --git a/dev-java/avalon-logkit/files/avalon-logkit-1.2.2-java7.patch b/dev-java/avalon-logkit/files/avalon-logkit-1.2.2-java7.patch |
16 |
deleted file mode 100644 |
17 |
index cb2611bf0de..00000000000 |
18 |
--- a/dev-java/avalon-logkit/files/avalon-logkit-1.2.2-java7.patch |
19 |
+++ /dev/null |
20 |
@@ -1,30 +0,0 @@ |
21 |
-diff -Nur avalon-logkit-2.1/src/java/org/apache/log/output/db/DefaultDataSource.java avalon-logkit-2.1_patched//src/java/org/apache/log/output/db/DefaultDataSource.java |
22 |
---- avalon-logkit-2.1/src/java/org/apache/log/output/db/DefaultDataSource.java 2005-08-30 05:03:49.000000000 +0300 |
23 |
-+++ avalon-logkit-2.1_patched//src/java/org/apache/log/output/db/DefaultDataSource.java 2011-09-27 08:27:49.313005212 +0300 |
24 |
-@@ -20,7 +20,9 @@ |
25 |
- import java.sql.Connection; |
26 |
- import java.sql.DriverManager; |
27 |
- import java.sql.SQLException; |
28 |
-+import java.sql.SQLFeatureNotSupportedException; |
29 |
- import javax.sql.DataSource; |
30 |
-+import java.util.logging.Logger; |
31 |
- |
32 |
- /** |
33 |
- * A basic datasource that doesn't do any pooling but just wraps |
34 |
-@@ -111,4 +113,16 @@ |
35 |
- { |
36 |
- m_logWriter = logWriter; |
37 |
- } |
38 |
-+ |
39 |
-+ public boolean isWrapperFor(Class cls) { |
40 |
-+ return false; |
41 |
-+ } |
42 |
-+ |
43 |
-+ public Object unwrap(Class cls) throws SQLException { |
44 |
-+ throw new SQLException("Not a wrapper for " + cls); |
45 |
-+ } |
46 |
-+ |
47 |
-+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { |
48 |
-+ throw new SQLFeatureNotSupportedException("Not a supported feature"); |
49 |
-+ } |
50 |
- } |