[cdi-api] 10/10: Add disable-InterceptorBinding-support.patch

Markus Koschany apo-guest at moszumanska.debian.org
Tue Sep 30 16:08:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch experimental
in repository cdi-api.

commit 8b4d473a734c97dba62e655d0fb8bed04a5aada0
Author: Markus Koschany <apo at gambaru.de>
Date:   Tue Sep 30 14:25:38 2014 +0200

    Add disable-InterceptorBinding-support.patch
---
 .../disable-InterceptorBinding-support.patch       | 39 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 40 insertions(+)

diff --git a/debian/patches/disable-InterceptorBinding-support.patch b/debian/patches/disable-InterceptorBinding-support.patch
new file mode 100644
index 0000000..0fddd65
--- /dev/null
+++ b/debian/patches/disable-InterceptorBinding-support.patch
@@ -0,0 +1,39 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Tue, 30 Sep 2014 14:25:17 +0200
+Subject: disable InterceptorBinding support
+
+---
+ javax/enterprise/inject/spi/BeforeBeanDiscovery.java | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/javax/enterprise/inject/spi/BeforeBeanDiscovery.java b/javax/enterprise/inject/spi/BeforeBeanDiscovery.java
+index e2e795a..a990c78 100644
+--- a/javax/enterprise/inject/spi/BeforeBeanDiscovery.java
++++ b/javax/enterprise/inject/spi/BeforeBeanDiscovery.java
+@@ -22,7 +22,7 @@ import javax.enterprise.context.NormalScope;
+ import javax.enterprise.inject.Stereotype;
+ import javax.inject.Qualifier;
+ import javax.inject.Scope;
+-import javax.interceptor.InterceptorBinding;
++//import javax.interceptor.InterceptorBinding;
+ 
+ /**
+  * <p>
+@@ -114,7 +114,7 @@ public interface BeforeBeanDiscovery {
+      * @param bindingType The annotation type to treat as an interceptor binding type
+      * @throws IllegalStateException if called outside of the observer method invocation
+      */
+-    public void addInterceptorBinding(AnnotatedType<? extends Annotation> bindingType);
++    //public void addInterceptorBinding(AnnotatedType<? extends Annotation> bindingType);
+ 
+     /**
+      * <p>
+@@ -131,7 +131,7 @@ public interface BeforeBeanDiscovery {
+      * @throws IllegalStateException if called outside of the observer method invocation
+      * @since 1.1
+      */
+-    public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef);
++    //public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef);
+ 
+     /**
+      * <p>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7d874e0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-InterceptorBinding-support.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cdi-api.git



More information about the pkg-java-commits mailing list