Blame SOURCES/0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch

13bc3b
From d9df4679129efdc654b44213fb33abd7ac042e81 Mon Sep 17 00:00:00 2001
13bc3b
From: Marek Goldmann <goldmann@fedoraproject.org>
13bc3b
Date: Tue, 3 Jul 2012 18:43:17 +0200
13bc3b
Subject: [PATCH 5/5] Add getResourceURL method to make jbosgi-framework
13bc3b
 happy...
13bc3b
13bc3b
---
13bc3b
 src/main/java/org/osgi/util/xml/XMLParserActivator.java |    4 ++++
13bc3b
 1 file changed, 4 insertions(+)
13bc3b
13bc3b
diff --git a/src/main/java/org/osgi/util/xml/XMLParserActivator.java b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
13bc3b
index 963c092..85f9f56 100644
13bc3b
--- a/src/main/java/org/osgi/util/xml/XMLParserActivator.java
13bc3b
+++ b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
13bc3b
@@ -165,6 +165,10 @@ public class XMLParserActivator implements BundleActivator, ServiceFactory {
13bc3b
 				.getResource(DOMCLASSFILE)));
13bc3b
 	}
13bc3b
 
13bc3b
+	protected URL getResourceURL(Bundle parserBundle, String resname) {
13bc3b
+		return parserBundle.getResource(resname);
13bc3b
+	}
13bc3b
+
13bc3b
 	/**
13bc3b
 	 * This method has nothing to do as all active service registrations will
13bc3b
 	 * automatically get unregistered when the bundle stops.
13bc3b
-- 
13bc3b
1.7.10.4
13bc3b