changeset 94:5332d956729c

Brought all line lengths of non Javadoc lines below 80. artifacts/trunk@937 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 17 Apr 2010 10:28:43 +0000 (2010-04-17)
parents e27cf9c84eb8
children 0edcaf5b5c78
files ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java
diffstat 8 files changed, 46 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Mar 28 15:57:40 2010 +0000
+++ b/ChangeLog	Sat Apr 17 10:28:43 2010 +0000
@@ -1,3 +1,14 @@
+2010-04-17	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
+	  artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
+	  artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
+	  Brought all line lengths of non Javadoc lines below 80.
+
 2010-03-28	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Sat Apr 17 10:28:43 2010 +0000
@@ -239,7 +239,8 @@
                     artifact.store();
                     break;
                 case BACKGROUND:
-                    logger.warn("BACKGROUND processing is not fully implemented, yet!");
+                    logger.warn(
+                        "BACKGROUND processing is not fully implemented, yet!");
                     artifact.store();
                     break;
                 default:
@@ -589,8 +590,12 @@
         }
     }
 
-    public Document describe(String identifier, Document data, CallMeta callMeta)
-        throws ArtifactDatabaseException
+    public Document describe(
+        String   identifier,
+        Document data,
+        CallMeta callMeta
+    )
+    throws ArtifactDatabaseException
     {
         // TODO: Handle background tasks
         PersistentArtifact artifact = backend.getArtifact(identifier);
@@ -610,8 +615,12 @@
         }
     }
 
-    public Document advance(String identifier, Document target, CallMeta callMeta)
-        throws ArtifactDatabaseException
+    public Document advance(
+        String   identifier,
+        Document target,
+        CallMeta callMeta
+    )
+    throws ArtifactDatabaseException
     {
         // TODO: Handle background tasks
         PersistentArtifact artifact = backend.getArtifact(identifier);
@@ -652,8 +661,12 @@
         }
     }
 
-    public DeferredOutput out(String identifier, Document format, CallMeta callMeta)
-        throws ArtifactDatabaseException
+    public DeferredOutput out(
+        String   identifier,
+        Document format,
+        CallMeta callMeta
+    )
+    throws ArtifactDatabaseException
     {
         // TODO: Handle background tasks
         PersistentArtifact artifact = backend.getArtifact(identifier);
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java	Sat Apr 17 10:28:43 2010 +0000
@@ -220,7 +220,8 @@
             if (factory != null) {
                 factory.setup(config, nodes.item(i));
                 loadedFactories.add(factory);
-                logger.info("Registering '" + factory.getName() + "' as service factory.");
+                logger.info( "Registering '" + factory.getName()
+                    + "' as service factory.");
             }
         }
 
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java	Sat Apr 17 10:28:43 2010 +0000
@@ -58,7 +58,9 @@
 
             if (in == null) {
                 logger.warn("No SQL file for driver '" + driver + "' found.");
-                res = "/sql/" + DBConnection.DEFAULT_DRIVER.replace('.', '-').toLowerCase()
+                res = "/sql/"
+                    + DBConnection.DEFAULT_DRIVER.replace('.', '-')
+                        .toLowerCase()
                     + ".properties";
                 if ((in = SQL.class.getResourceAsStream(res)) == null) {
                     logger.error("No SQL file found");
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java	Sat Apr 17 10:28:43 2010 +0000
@@ -211,7 +211,11 @@
      * @return The result of type 'returnTyp' or null if something
      * went wrong during XPath evaluation.
      */
-    public static final Object xpath(Object root, String query, QName returnTyp) {
+    public static final Object xpath(
+        Object root,
+        String query,
+        QName  returnTyp
+    ) {
         return xpath(root, query, returnTyp, null);
     }
 
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java	Sat Apr 17 10:28:43 2010 +0000
@@ -39,7 +39,8 @@
     /**
      * XPath to figure out the MIME type of the requested result.
      */
-    public static final String XPATH_MIME_TYPE = "/art:action/art:out/art:mime-type/@value";
+    public static final String XPATH_MIME_TYPE =
+        "/art:action/art:out/art:mime-type/@value";
 
     /**
      * Default result MIME type: octet stream
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java	Sat Apr 17 10:28:43 2010 +0000
@@ -130,8 +130,7 @@
 
         int index = 0;
 
-        for (Iterator<Preference<Language>> iter = pl.iterator(); iter.hasNext();) {
-            Preference p = iter.next();
+        for (Preference<Language> p: pl) {
             String lang    = p.getMetadata().getName();
             float  quality = p.getQuality();
             languages[index++] = new DefaultPreferredLocale(lang, quality);
--- a/artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java	Sun Mar 28 15:57:40 2010 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java	Sat Apr 17 10:28:43 2010 +0000
@@ -16,7 +16,8 @@
     /**
      * The URI of the namespace of the artifacts.
      */
-    public final static String NAMESPACE_URI = "http://www.intevation.de/2009/artifacts";
+    public final static String NAMESPACE_URI =
+        "http://www.intevation.de/2009/artifacts";
 
     /**
      * The XML prefix for the artifacts namespace.

http://dive4elements.wald.intevation.org