commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1129339 - in /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins: InitializableRule.java PluginCreateRule.java
Date Mon, 30 May 2011 20:06:16 GMT
Author: simonetripodi
Date: Mon May 30 20:06:16 2011
New Revision: 1129339

URL: http://svn.apache.org/viewvc?rev=1129339&view=rev
Log:
fixed checkstyle violation: Redundant throws: 'PluginConfigurationException' is unchecked
exception.

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/InitializableRule.java
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/InitializableRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/InitializableRule.java?rev=1129339&r1=1129338&r2=1129339&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/InitializableRule.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/InitializableRule.java
Mon May 30 20:06:16 2011
@@ -33,10 +33,7 @@ public interface InitializableRule
      * instance is associated with more than one pattern, then this method will be called
more than once.
      * 
      * @param pattern is the digester match pattern that will trigger this rule.
-     * @exception PluginConfigurationException is thrown if the InitializableRule determines
that it cannot correctly
-     *                initialise itself for any reason.
      */
-    void postRegisterInit( String pattern )
-        throws PluginConfigurationException;
+    void postRegisterInit( String pattern );
 
 }

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java?rev=1129339&r1=1129338&r2=1129339&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/plugins/PluginCreateRule.java
Mon May 30 20:06:16 2011
@@ -148,10 +148,8 @@ public class PluginCreateRule
      * all configuration data is valid and remember the pattern for later.
      * 
      * @param matchPattern is the digester match pattern that is associated with this rule
instance, eg "root/widget".
-     * @exception PluginConfigurationException
      */
     public void postRegisterInit( String matchPattern )
-        throws PluginConfigurationException
     {
         Log log = LogUtils.getLogger( getDigester() );
         boolean debug = log.isDebugEnabled();



Mime
View raw message