You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by ta...@apache.org on 2015/02/14 12:20:04 UTC
[1/2] deltaspike git commit: DELTASPIKE-823 unused import
Repository: deltaspike
Updated Branches:
refs/heads/master bcafe16cf -> 5b5be22f0
DELTASPIKE-823 unused import
Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/e478f4fc
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/e478f4fc
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/e478f4fc
Branch: refs/heads/master
Commit: e478f4fc95e9539d67a608e3c53de72f85f5de99
Parents: bcafe16
Author: Thomas Andraschko <ta...@apache.org>
Authored: Sat Feb 14 12:08:32 2015 +0100
Committer: Thomas Andraschko <ta...@apache.org>
Committed: Sat Feb 14 12:08:32 2015 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e478f4fc/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
index 057435f..abbbe0d 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
@@ -21,7 +21,6 @@ package org.apache.deltaspike.core.util;
import javax.enterprise.inject.Typed;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.List;
/**
[2/2] deltaspike git commit: DELTASPIKE-823 fixed ProxyUtils
Posted by ta...@apache.org.
DELTASPIKE-823 fixed ProxyUtils
Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/5b5be22f
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/5b5be22f
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/5b5be22f
Branch: refs/heads/master
Commit: 5b5be22f0005d6196f3ce96110b49f104c57e47a
Parents: e478f4f
Author: Thomas Andraschko <ta...@apache.org>
Authored: Sat Feb 14 12:18:05 2015 +0100
Committer: Thomas Andraschko <ta...@apache.org>
Committed: Sat Feb 14 12:18:05 2015 +0100
----------------------------------------------------------------------
.../main/java/org/apache/deltaspike/core/util/ProxyUtils.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5b5be22f/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
index abbbe0d..39778a8 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ProxyUtils.java
@@ -104,6 +104,11 @@ public abstract class ProxyUtils
return true;
}
+ if (proxyClass.getSuperclass() != null && !proxyClass.getSuperclass().equals(Object.class))
+ {
+ return false;
+ }
+
if (proxyClass.getName().contains("$$"))
{
for (Class<?> currentInterface : interfaces)