commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1471761 - in /commons/proper/chain/trunk: apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/ core/src/main/java/org/apache/commons/chain2/impl/ core/src/test/java/org/apache/commons/chain2/impl/
Date Wed, 24 Apr 2013 23:05:21 GMT
Author: sebb
Date: Wed Apr 24 23:05:20 2013
New Revision: 1471761

URL: http://svn.apache.org/r1471761
Log:
Trailing spaces

Modified:
    commons/proper/chain/trunk/apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/CatalogTest.java
    commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
    commons/proper/chain/trunk/core/src/test/java/org/apache/commons/chain2/impl/CatalogBaseTestCase.java

Modified: commons/proper/chain/trunk/apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/CatalogTest.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/CatalogTest.java?rev=1471761&r1=1471760&r2=1471761&view=diff
==============================================================================
--- commons/proper/chain/trunk/apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/CatalogTest.java
(original)
+++ commons/proper/chain/trunk/apps/cookbook-examples/src/test/java/org/apache/commons/chain2/cookbook/mailreader/CatalogTest.java
Wed Apr 24 23:05:20 2013
@@ -40,7 +40,7 @@ public class CatalogTest {
     @Mock private HttpServletRequest request;
     @Mock private Catalog<String, Object, MailReader> testCatalog;
     @Mock private Command<String, Object, MailReader> testCommand;
-    
+
     @Before
     public void setUp() {
         MockitoAnnotations.initMocks(this);
@@ -59,15 +59,15 @@ public class CatalogTest {
 
         // Due to limitation with the servlet API we have to do a cast here
         @SuppressWarnings("unchecked")
-        Catalog<String, Object, MailReader> catalog = 
+        Catalog<String, Object, MailReader> catalog =
                 (Catalog<String, Object, MailReader>) servletContext
                         .getAttribute("catalog");
-        
+
         Command<String, Object, MailReader> command = catalog.getCommand(name);
 
         return command.execute(context);
     }
-    
+
     @Test
     public void loadCatalogTest() {
         MailReader context = new MailReader();

Modified: commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java?rev=1471761&r1=1471760&r2=1471761&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
(original)
+++ commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
Wed Apr 24 23:05:20 2013
@@ -58,8 +58,8 @@ public class CatalogBase<K, V, C extends
      * All Map keys should be <code>String</code> and all values should be <code>Command</code>.</p>
      *
      * @param commands Map of Commands.
-     * 
-     * @exception IllegalArgumentException if <code>commands</code> 
+     *
+     * @exception IllegalArgumentException if <code>commands</code>
      * is <code>null</code>
      *
      * @since Chain 1.1

Modified: commons/proper/chain/trunk/core/src/test/java/org/apache/commons/chain2/impl/CatalogBaseTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/test/java/org/apache/commons/chain2/impl/CatalogBaseTestCase.java?rev=1471761&r1=1471760&r2=1471761&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/test/java/org/apache/commons/chain2/impl/CatalogBaseTestCase.java
(original)
+++ commons/proper/chain/trunk/core/src/test/java/org/apache/commons/chain2/impl/CatalogBaseTestCase.java
Wed Apr 24 23:05:20 2013
@@ -150,14 +150,14 @@ public class CatalogBaseTestCase {
     @Test
     public void testInstantiationWithMapOfCommands() {
         @SuppressWarnings("serial")
-        Map<String, Command<String, Object, Context<String, Object>>> 
+        Map<String, Command<String, Object, Context<String, Object>>>
             commands = new ConcurrentHashMap<String, Command<String, Object, Context<String,
Object>>>() {
             {
                 put("AddingCommand", new AddingCommand("", null));
             }
         };
 
-        CatalogBase<String, Object, Context<String, Object>> 
+        CatalogBase<String, Object, Context<String, Object>>
             catalog = new CatalogBase<String, Object, Context<String, Object>>(commands);
 
         assertEquals("Correct command count", 1, catalog.getCommands().size());
@@ -168,7 +168,7 @@ public class CatalogBaseTestCase {
     public void testInstantiationWithNullMapOfCommands() {
         Map<String, Command<String, Object, Context<String, Object>>> commands
= null;
         @SuppressWarnings("unused")
-        CatalogBase<String, Object, Context<String, Object>> 
+        CatalogBase<String, Object, Context<String, Object>>
             catalog = new CatalogBase<String, Object, Context<String, Object>>(commands);
     }
 



Mime
View raw message