changeset 86:b2e0cb83631c

Removed trailing whitespace artifacts/trunk@833 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Mar 2010 10:04:34 +0000
parents 78263e910675
children 0f48188a6e02
files ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java artifacts/src/main/java/de/intevation/artifacts/Artifact.java artifacts/src/main/java/de/intevation/artifacts/CallContext.java
diffstat 10 files changed, 28 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Mar 26 09:41:38 2010 +0000
+++ b/ChangeLog	Fri Mar 26 10:04:34 2010 +0000
@@ -1,3 +1,17 @@
+2010-03-26	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
+	  artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
+	  artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
+	  Removed trailing whitespace:
+	  find -name \*.java | xargs sed -i 's/[ \t]\+$//'
+
 2010-03-26	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Fri Mar 26 10:04:34 2010 +0000
@@ -96,7 +96,7 @@
         protected HashMap            customValues;
 
         public CallContextImpl(
-            PersistentArtifact artifact, 
+            PersistentArtifact artifact,
             int                action,
             CallMeta           callMeta
         ) {
@@ -345,7 +345,7 @@
     }
 
     public Document createArtifactWithFactory(
-        String   factoryName, 
+        String   factoryName,
         CallMeta callMeta,
         Document data
     )
@@ -475,7 +475,7 @@
             artifact,
             new Backend.ArtifactLoader() {
                 public Object load(
-                    ArtifactFactory factory, 
+                    ArtifactFactory factory,
                     Long            ttl,
                     byte []         bytes,
                     int             id
@@ -646,7 +646,7 @@
     }
 
     public Document process(
-        String   serviceName, 
+        String   serviceName,
         Document input,
         CallMeta callMeta
     )
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Fri Mar 26 10:04:34 2010 +0000
@@ -156,7 +156,7 @@
     public PersistentArtifact getArtifact(String identifer) {
 
         return (PersistentArtifact)loadArtifact(
-            identifer, 
+            identifer,
             new ArtifactLoader() {
 
                 public Object load(
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java	Fri Mar 26 10:04:34 2010 +0000
@@ -81,7 +81,7 @@
         }
     }
 
-    public void setup(String identifier, ArtifactFactory factory, 
+    public void setup(String identifier, ArtifactFactory factory,
                       Object context, Document data) {
         if (logger.isDebugEnabled()) {
             logger.debug("DefaultArtifact.setup: " + identifier);
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java	Fri Mar 26 10:04:34 2010 +0000
@@ -47,8 +47,8 @@
         return description;
     }
 
-    public Artifact createArtifact(String identifier, 
-                                   Object context, 
+    public Artifact createArtifact(String identifier,
+                                   Object context,
                                    Document data) {
 
         try {
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java	Fri Mar 26 10:04:34 2010 +0000
@@ -81,7 +81,7 @@
 
     public Document feed(Document target, CallContext context) {
         try {
-            return proxied != null 
+            return proxied != null
                 ? proxied.feed(target, context)
                 : super.feed(target, context);
         }
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java	Fri Mar 26 10:04:34 2010 +0000
@@ -86,7 +86,7 @@
             Preference p = iter.next();
             String lang    = p.getMetadata().getName();
             float  quality = p.getQuality();
-            languages[index++] = new DefaultPreferredLocale(lang, quality); 
+            languages[index++] = new DefaultPreferredLocale(lang, quality);
         }
 
         return new DefaultCallMeta(languages);
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java	Fri Mar 26 10:04:34 2010 +0000
@@ -71,7 +71,7 @@
         try {
             return new DomRepresentation(
                 MediaType.APPLICATION_XML,
-                db.createArtifactWithFactory(factory, 
+                db.createArtifactWithFactory(factory,
                                              getCallMeta(),
                                              inputDocument));
         }
--- a/artifacts/src/main/java/de/intevation/artifacts/Artifact.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/Artifact.java	Fri Mar 26 10:04:34 2010 +0000
@@ -26,7 +26,7 @@
  *
  * There are two more methods involved with the life cycle of the are:
  * <ol>
- *   <li>{@link #setup(String, ArtifactFactory, Object, Document) setup()}: 
+ *   <li>{@link #setup(String, ArtifactFactory, Object, Document) setup()}:
  *   Called after created by the factory.</li>
  *   <li>{@link #endOfLife(Object) endOfLife()}: Called when the artifact
  *                                               is going to be removed from
@@ -101,7 +101,7 @@
      * @param identifier The identifier from artifact database
      * @param factory    The factory which created this artifact.
      * @param context    The global context of the runtime system.
-     * @param data       The data which can be use to setup an artifact with 
+     * @param data       The data which can be use to setup an artifact with
      *                   more details.
      */
     public void setup(
--- a/artifacts/src/main/java/de/intevation/artifacts/CallContext.java	Fri Mar 26 09:41:38 2010 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/CallContext.java	Fri Mar 26 10:04:34 2010 +0000
@@ -65,7 +65,7 @@
      * @return The meta information of this call.
      */
     CallMeta getMeta();
-    
+
     /**
      * Each call context has a clipboard.
      * getContextValue is used to fetch data from this board.

http://dive4elements.wald.intevation.org