camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: Removed useless code
Date Sun, 19 Feb 2017 10:08:53 GMT
Repository: camel
Updated Branches:
  refs/heads/master 41ea7c7ad -> b7667a422


Removed useless code


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

Branch: refs/heads/master
Commit: b7667a4222399f1d63f3df9fbf0e610104e8fd18
Parents: 8889b82
Author: aldettinger <aldettinger@gmail.com>
Authored: Sat Feb 18 23:02:28 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Feb 19 10:03:36 2017 +0100

----------------------------------------------------------------------
 .../bean/BeanInfoOverloadedWithSubTypeParamTest.java          | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b7667a42/camel-core/src/test/java/org/apache/camel/component/bean/BeanInfoOverloadedWithSubTypeParamTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/bean/BeanInfoOverloadedWithSubTypeParamTest.java
b/camel-core/src/test/java/org/apache/camel/component/bean/BeanInfoOverloadedWithSubTypeParamTest.java
index d0714d6..deda491 100644
--- a/camel-core/src/test/java/org/apache/camel/component/bean/BeanInfoOverloadedWithSubTypeParamTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/bean/BeanInfoOverloadedWithSubTypeParamTest.java
@@ -26,12 +26,10 @@ public class BeanInfoOverloadedWithSubTypeParamTest extends ContextTestSupport
{
 
     public void testBeanInfoOverloadedWithSubTypedParam() {
         BeanInfo beanInfo = new BeanInfo(context, Bean.class);
-        Assert.assertEquals(3, beanInfo.getMethods().size());
+        Assert.assertEquals(2, beanInfo.getMethods().size());
     }
 
     class Bean {
-        public void doSomething(RequestA request) {
-        }
 
         public void doSomething(RequestB request) {
         }
@@ -40,9 +38,6 @@ public class BeanInfoOverloadedWithSubTypeParamTest extends ContextTestSupport
{
         }
     }
 
-    class RequestA {
-    }
-
     class RequestB {
     }
 


Mime
View raw message