You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by gp...@apache.org on 2013/04/11 21:43:41 UTC

svn commit: r1467064 - in /openwebbeans/trunk/webbeans-impl/src: main/java/org/apache/webbeans/portable/ main/java/org/apache/webbeans/proxy/ test/java/org/apache/webbeans/test/component/intercept/webbeans/

Author: gpetracek
Date: Thu Apr 11 19:43:41 2013
New Revision: 1467064

URL: http://svn.apache.org/r1467064
Log:
minor cleanup (of warnings)

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
    openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/component/intercept/webbeans/SecureInterceptor.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java?rev=1467064&r1=1467063&r2=1467064&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java Thu Apr 11 19:43:41 2013
@@ -364,8 +364,7 @@ public class InjectionTargetImpl<T> exte
         }
         catch (Exception e)
         {
-            //noinspection ThrowableResultOfMethodCallIgnored,ThrowableResultOfMethodCallIgnored
-            ExceptionUtil.throwAsRuntimeException(e);
+            throw ExceptionUtil.throwAsRuntimeException(e);
         }
     }
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java?rev=1467064&r1=1467063&r2=1467064&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/InterceptorDecoratorProxyFactory.java Thu Apr 11 19:43:41 2013
@@ -119,9 +119,8 @@ public class InterceptorDecoratorProxyFa
         }
         catch (Exception e)
         {
-            ExceptionUtil.throwAsRuntimeException(e);
+            throw ExceptionUtil.throwAsRuntimeException(e);
         }
-        return null;
     }
 
     /**
@@ -137,9 +136,8 @@ public class InterceptorDecoratorProxyFa
         }
         catch (Exception e)
         {
-            ExceptionUtil.throwAsRuntimeException(e);
+            throw ExceptionUtil.throwAsRuntimeException(e);
         }
-        return null;
     }
 
     /**

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java?rev=1467064&r1=1467063&r2=1467064&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/proxy/NormalScopeProxyFactory.java Thu Apr 11 19:43:41 2013
@@ -88,7 +88,7 @@ public class NormalScopeProxyFactory ext
             }
             catch (Exception e)
             {
-                ExceptionUtil.throwAsRuntimeException(e);
+                throw ExceptionUtil.throwAsRuntimeException(e);
             }
         }
 
@@ -108,9 +108,8 @@ public class NormalScopeProxyFactory ext
         }
         catch (Exception e)
         {
-            ExceptionUtil.throwAsRuntimeException(e);
+            throw ExceptionUtil.throwAsRuntimeException(e);
         }
-        return null;
     }
 
     public <T> T createNormalScopeProxy(Bean<T> bean)

Modified: openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/component/intercept/webbeans/SecureInterceptor.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/component/intercept/webbeans/SecureInterceptor.java?rev=1467064&r1=1467063&r2=1467064&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/component/intercept/webbeans/SecureInterceptor.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/component/intercept/webbeans/SecureInterceptor.java Thu Apr 11 19:43:41 2013
@@ -41,7 +41,7 @@ public class SecureInterceptor
         }
         catch (Exception e)
         {
-            ExceptionUtil.throwAsRuntimeException(e);
+            throw ExceptionUtil.throwAsRuntimeException(e);
         }
     }