You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by mc...@apache.org on 2017/10/01 01:38:49 UTC

svn commit: r1810245 - in /tiles/request/trunk: tiles-request-api/src/main/java/org/apache/tiles/request/ tiles-request-api/src/main/java/org/apache/tiles/request/attribute/ tiles-request-api/src/main/java/org/apache/tiles/request/collection/ tiles-req...

Author: mck
Date: Sun Oct  1 01:38:49 2017
New Revision: 1810245

URL: http://svn.apache.org/viewvc?rev=1810245&view=rev
Log:
remove trailing whitespaces

Modified:
    tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/ApplicationResource.java
    tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/attribute/package-info.java
    tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/collection/package-info.java
    tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/package-info.java
    tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/render/package-info.java
    tiles/request/trunk/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java
    tiles/request/trunk/tiles-request-freemarker/src/main/java/org/apache/tiles/request/freemarker/autotag/FreemarkerAutotagRuntime.java
    tiles/request/trunk/tiles-request-freemarker/src/test/java/org/apache/tiles/request/freemarker/extractor/EnvironmentScopeExtractorTest.java
    tiles/request/trunk/tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntime.java
    tiles/request/trunk/tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheScopeExtractor.java

Modified: tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/ApplicationResource.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/ApplicationResource.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/ApplicationResource.java (original)
+++ tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/ApplicationResource.java Sun Oct  1 01:38:49 2017
@@ -28,38 +28,38 @@ import java.util.Locale;
 /**
  * A (localized) resource accessible through the ApplicationContext.
  * Typically this is a file inside the web application's war.
- * 
+ *
  * @version $Rev$ $Date$
  */
 public interface ApplicationResource {
 
     /**
      * Get the path name for this resource.
-     * You can access this ressource by passing the path to 
+     * You can access this ressource by passing the path to
      * {@link ApplicationContext#getResource(String) getResource}.
-     * 
+     *
      * @return the path including localization.
      */
     String getLocalePath();
 
     /**
-     * Get the path name for this resource. Multiple versions of 
+     * Get the path name for this resource. Multiple versions of
      * a resource can share the same path if the locale part is different.
-     * 
+     *
      * @return the path excluding localization.
      */
     String getPath();
 
     /**
      * Get the Locale for this resource.
-     * 
+     *
      * @return the Locale.
      */
     Locale getLocale();
 
     /**
      * Get the path name of another version of the resource.
-     * 
+     *
      * @param locale the Locale for the new version.
      * @return the path including localization.
      */
@@ -67,7 +67,7 @@ public interface ApplicationResource {
 
     /**
      * Get a java.io.InputStream to read the contents of this resource.
-     * 
+     *
      * @return the InputStream.
      * @throws IOException if the contents cannot be read.
      */
@@ -75,8 +75,8 @@ public interface ApplicationResource {
 
     /**
      * Get the last modification date for this resource.
-     * 
-     * @return the difference, measured in milliseconds, between the current 
+     *
+     * @return the difference, measured in milliseconds, between the current
      * time and midnight, January 1, 1970 UTC.
      * @throws IOException if the last modification date cannot be found.
      */

Modified: tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/attribute/package-info.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/attribute/package-info.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/attribute/package-info.java (original)
+++ tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/attribute/package-info.java Sun Oct  1 01:38:49 2017
@@ -19,7 +19,7 @@
  * under the License.
  */
 /**
- * Methods to get, set and remove attributes from different sources (like HTTP requests 
+ * Methods to get, set and remove attributes from different sources (like HTTP requests
  * or sessions).
  * By implementing {@link org.apache.tiles.request.attribute.AttributeExtractor},
  * you can use a Map from {@link org.apache.tiles.request.collection} to manipulate the

Modified: tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/collection/package-info.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/collection/package-info.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/collection/package-info.java (original)
+++ tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/collection/package-info.java Sun Oct  1 01:38:49 2017
@@ -19,9 +19,9 @@
  * under the License.
  */
 /**
- * Special collections and maps for attributes (like HTTP request 
+ * Special collections and maps for attributes (like HTTP request
  * or session attributes).
- * These can be used to access another object's attributes through 
+ * These can be used to access another object's attributes through
  * a Map interface.
  * <ul>
  * <li> {@link org.apache.tiles.request.collection.ScopeMap} provides

Modified: tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/package-info.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/package-info.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/package-info.java (original)
+++ tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/package-info.java Sun Oct  1 01:38:49 2017
@@ -19,20 +19,20 @@
  * under the License.
  */
 /**
- * This package defines the concept of "request" as the event causing a 
+ * This package defines the concept of "request" as the event causing a
  * document to be generated from a template. The process is also called
- * "rendering the template". Typical examples are servlet requests or 
- * portlet requests. 
- * 
- * This API is independent of the underlying technology, allowing the user 
- * to deal with similarities in servlets and portlets, or various template 
+ * "rendering the template". Typical examples are servlet requests or
+ * portlet requests.
+ *
+ * This API is independent of the underlying technology, allowing the user
+ * to deal with similarities in servlets and portlets, or various template
  * technologies, in a uniform way.
- * 
+ *
  * It is based on 3 main interfaces:
  * <ul>
- * <li>{@link org.apache.tiles.request.Request} is the main abstraction, 
+ * <li>{@link org.apache.tiles.request.Request} is the main abstraction,
  * encapsulating the parameters of the template (as attributes and scopes)
- * and the target document (as java.io.OutputStream). 
+ * and the target document (as java.io.OutputStream).
  * {@link org.apache.tiles.request.DispatchRequest} holds some features common
  * to servlets and portlets that are unlikely to be found outside of a JavaEE
  * web environment.

Modified: tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/render/package-info.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/render/package-info.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/render/package-info.java (original)
+++ tiles/request/trunk/tiles-request-api/src/main/java/org/apache/tiles/request/render/package-info.java Sun Oct  1 01:38:49 2017
@@ -19,16 +19,16 @@
  * under the License.
  */
 /**
- * Classes to allow rendering of a template (described by its path) 
+ * Classes to allow rendering of a template (described by its path)
  * in a uniform way.
- * 
+ *
  * Besides the top level interface {@link org.apache.tiles.request.render.Renderer},
  * the package contains:
  * <ul>
- * <li>trivial examples: {@link org.apache.tiles.request.render.StringRenderer} 
+ * <li>trivial examples: {@link org.apache.tiles.request.render.StringRenderer}
  * and {@link org.apache.tiles.request.render.DispatchRenderer}.
  * <li>usual design patterns: {@link org.apache.tiles.request.render.ChainedDelegateRenderer},
- * {@link org.apache.tiles.request.render.PublisherRenderer}, and 
+ * {@link org.apache.tiles.request.render.PublisherRenderer}, and
  * {@link org.apache.tiles.request.render.RendererFactory}.
  * </ul>
  */

Modified: tiles/request/trunk/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java (original)
+++ tiles/request/trunk/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java Sun Oct  1 01:38:49 2017
@@ -192,21 +192,21 @@ public class URLApplicationResourceTest
         assertEquals("file:/", resource.getURL().toString());
         assertEquals(File.separator, resource.getFile().toString());
     }
-    
+
     @Test
     public void testGetLastModified() throws IOException {
     	URL url = getClass().getClassLoader().getResource("org/apache/tiles/request/test/locale/resource.txt");
     	URLApplicationResource resource = new URLApplicationResource("org/apache/tiles/request/test/locale/resource.txt", url);
     	assertTrue(resource.getLastModified() > 0);
     }
-    
+
     @Test
     public void testGetLastModifiedWithSpace() throws IOException {
     	URL url = getClass().getClassLoader().getResource("org/apache/tiles/request/test/locale/resource with space.txt");
     	URLApplicationResource resource = new URLApplicationResource("org/apache/tiles/request/test/locale/resource with space.txt", url);
     	assertTrue(resource.getLastModified() > 0);
     }
-    
+
     @Test
     public void testGetInputStream() throws IOException {
     	URL url = getClass().getClassLoader().getResource("org/apache/tiles/request/test/locale/resource.txt");
@@ -215,7 +215,7 @@ public class URLApplicationResourceTest
     	assertNotNull(is);
     	is.close();
     }
-    
+
     @Test
     public void testGetInputStreamWithSpace() throws IOException {
     	URL url = getClass().getClassLoader().getResource("org/apache/tiles/request/test/locale/resource with space.txt");

Modified: tiles/request/trunk/tiles-request-freemarker/src/main/java/org/apache/tiles/request/freemarker/autotag/FreemarkerAutotagRuntime.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-freemarker/src/main/java/org/apache/tiles/request/freemarker/autotag/FreemarkerAutotagRuntime.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-freemarker/src/main/java/org/apache/tiles/request/freemarker/autotag/FreemarkerAutotagRuntime.java (original)
+++ tiles/request/trunk/tiles-request-freemarker/src/main/java/org/apache/tiles/request/freemarker/autotag/FreemarkerAutotagRuntime.java Sun Oct  1 01:38:49 2017
@@ -34,14 +34,14 @@ import freemarker.template.TemplateDirec
 import freemarker.template.TemplateModel;
 
 /**
- * A Runtime for implementing a Freemarker Template Directive.   
+ * A Runtime for implementing a Freemarker Template Directive.
  */
 public class FreemarkerAutotagRuntime implements AutotagRuntime<Request>, TemplateDirectiveModel {
 
     private Environment env;
     private TemplateDirectiveBody body;
     private Map<String, TemplateModel> params;
-    
+
     /** {@inheritDoc} */
     @SuppressWarnings("unchecked")
     @Override
@@ -62,7 +62,7 @@ public class FreemarkerAutotagRuntime im
     public ModelBody createModelBody() {
         return new FreemarkerModelBody(env.getOut(), body);
     }
-    
+
     /** {@inheritDoc} */
     @Override
     public <T> T getParameter(String name, Class<T> type, T defaultValue) {

Modified: tiles/request/trunk/tiles-request-freemarker/src/test/java/org/apache/tiles/request/freemarker/extractor/EnvironmentScopeExtractorTest.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-freemarker/src/test/java/org/apache/tiles/request/freemarker/extractor/EnvironmentScopeExtractorTest.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-freemarker/src/test/java/org/apache/tiles/request/freemarker/extractor/EnvironmentScopeExtractorTest.java (original)
+++ tiles/request/trunk/tiles-request-freemarker/src/test/java/org/apache/tiles/request/freemarker/extractor/EnvironmentScopeExtractorTest.java Sun Oct  1 01:38:49 2017
@@ -89,7 +89,7 @@ public class EnvironmentScopeExtractorTe
         Configuration configuration = createMock(Configuration.class);
         Set<String> names = new HashSet<String>();
         names.add("testGetKeys");
-        
+
         Writer writer = new StringWriter();
 
         expect(template.getMacros()).andReturn(new HashMap<Object, Object>());

Modified: tiles/request/trunk/tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntime.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntime.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntime.java (original)
+++ tiles/request/trunk/tiles-request-jsp/src/main/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntime.java Sun Oct  1 01:38:49 2017
@@ -35,7 +35,7 @@ public class JspAutotagRuntime extends S
     /** {@inheritDoc} */
     @Override
     public void doTag() {
-        // do nothing like the parent implementation, 
+        // do nothing like the parent implementation,
         // but don't throw exceptions either
     }
 

Modified: tiles/request/trunk/tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheScopeExtractor.java
URL: http://svn.apache.org/viewvc/tiles/request/trunk/tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheScopeExtractor.java?rev=1810245&r1=1810244&r2=1810245&view=diff
==============================================================================
--- tiles/request/trunk/tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheScopeExtractor.java (original)
+++ tiles/request/trunk/tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheScopeExtractor.java Sun Oct  1 01:38:49 2017
@@ -50,4 +50,4 @@ public final class MustacheScopeExtracto
     public void setValue(String key, Object value) {
         scope.put(key, value);
     }
-}
\ No newline at end of file
+}