summaryrefslogtreecommitdiff
path: root/libre/apache-ant-libre/ant_diagnostics.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-06 15:31:08 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-06-06 15:31:08 -0300
commit1ddcc21a3c87bac8a6938351d01824cc0e6b5414 (patch)
tree4583e6daccec956141c7f8ed6853c67e15158684 /libre/apache-ant-libre/ant_diagnostics.patch
parent4bb51d4c0eb72aeec6db7b645cb2bfb7c78f79ca (diff)
parent6237ecf456b95ac37864cf91df9cd02795a529d4 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/apache-ant-libre/ant_diagnostics.patch')
-rw-r--r--libre/apache-ant-libre/ant_diagnostics.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/libre/apache-ant-libre/ant_diagnostics.patch b/libre/apache-ant-libre/ant_diagnostics.patch
deleted file mode 100644
index 38148b45c..000000000
--- a/libre/apache-ant-libre/ant_diagnostics.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/src/main/org/apache/tools/ant/Diagnostics.java
-+++ b/src/main/org/apache/tools/ant/Diagnostics.java
-@@ -179,7 +179,10 @@
- * @param clazz the class to get the information from.
- * @since Ant 1.8.0
- */
-- private static URL getClassLocation(Class clazz) {
-+ private static URL getClassLocation(Class clazz) {
-+ if (clazz.getProtectionDomain().getCodeSource() == null) {
-+ return null;
-+ }
- return clazz.getProtectionDomain().getCodeSource().getLocation();
- }
-
-@@ -241,7 +244,7 @@
- }
- Transformer transformer = null;
- try {
-- transformer = transformerFactory.newTransformer();
-+ transformer = transformerFactory.newTransformer();
- } catch (Exception e) {
- // ignore
- ignoreThrowable(e);