deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject deltaspike git commit: DELTASPIKE-823 better duplicate method check
Date Sat, 14 Feb 2015 10:21:08 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master eb8dc9a89 -> 9b4a1f9a8


DELTASPIKE-823 better duplicate method check

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/9b4a1f9a
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/9b4a1f9a
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/9b4a1f9a

Branch: refs/heads/master
Commit: 9b4a1f9a8f013519cd4b4c0f3bb3c52eac73e84d
Parents: eb8dc9a
Author: Thomas Andraschko <tandraschko@apache.org>
Authored: Sat Feb 14 11:20:58 2015 +0100
Committer: Thomas Andraschko <tandraschko@apache.org>
Committed: Sat Feb 14 11:20:58 2015 +0100

----------------------------------------------------------------------
 .../deltaspike/partialbean/impl/PartialBeanProxyFactory.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/9b4a1f9a/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/PartialBeanProxyFactory.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/PartialBeanProxyFactory.java
b/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/PartialBeanProxyFactory.java
index 5db063b..f52f7c4 100644
--- a/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/PartialBeanProxyFactory.java
+++ b/deltaspike/modules/partial-bean/impl/src/main/java/org/apache/deltaspike/partialbean/impl/PartialBeanProxyFactory.java
@@ -185,6 +185,11 @@ public abstract class PartialBeanProxyFactory
     
     private static boolean containsMethodWithSameSignature(Method method, List<Method>
methods)
     {
+        if (methods.contains(method))
+        {
+            return true;
+        }
+        
         for (Method currentMethod : methods)
         {
             if (hasSameSignature(currentMethod, method))


Mime
View raw message