openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1798863 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java
Date Thu, 15 Jun 2017 18:09:59 GMT
Author: struberg
Date: Thu Jun 15 18:09:59 2017
New Revision: 1798863

URL: http://svn.apache.org/viewvc?rev=1798863&view=rev
Log:
OWB-1182 remove unused getType() method

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java?rev=1798863&r1=1798862&r2=1798863&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/BeanAttributesBuilder.java
Thu Jun 15 18:09:59 2017
@@ -578,8 +578,6 @@ public abstract class BeanAttributesBuil
     }
 
 
-    protected abstract Class<?> getType();
-    
     public static class BeanAttributesBuilderFactory
     {
         private WebBeansContext webBeansContext;
@@ -671,11 +669,6 @@ public abstract class BeanAttributesBuil
             defineNullable(false);
         }
 
-        @Override
-        protected Class<?> getType()
-        {
-            return annotated.getJavaClass();
-        }
 
         @Override
         protected AnnotatedType<? super C> getSuperAnnotated()
@@ -705,12 +698,6 @@ public abstract class BeanAttributesBuil
         }
 
         @Override
-        protected Class<?> getType()
-        {
-            return annotated.getJavaMember().getType();
-        }
-
-        @Override
         protected void defineScope()
         {
             defineScope("Annotated producer field: " + getAnnotated().getJavaMember() + 
"must declare default @Scope annotation");
@@ -753,12 +740,6 @@ public abstract class BeanAttributesBuil
         }
 
         @Override
-        protected Class<?> getType()
-        {
-            return annotated.getJavaMember().getReturnType();
-        }
-
-        @Override
         protected void defineScope()
         {
             defineScope("Annotated producer method : " + getAnnotated().getJavaMember() +
 "must declare default @Scope annotation");



Mime
View raw message