cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r1154339 - in /cocoon/cocoon3/trunk: cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ cocoon-rest/src/main/java/org/apache/cocoon/re...
Date Fri, 05 Aug 2011 18:32:36 GMT
Author: anathaniel
Date: Fri Aug  5 18:32:35 2011
New Revision: 1154339

URL: http://svn.apache.org/viewvc?rev=1154339&view=rev
Log:
Remove Eclipse warnings "Empty block should be documented"

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Equipment.java
    cocoon/cocoon3/trunk/cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ProfilingPngSerializer.java
    cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/BaseURL.java
    cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/Inject.java
    cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/RESTController.java
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/NodeChild.java
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/Parameter.java
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/AbstractStAXPipelineComponent.java
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXPipelineComponent.java
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StaticNamespaceContext.java
    cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
    cocoon/cocoon3/trunk/cocoon-wicket/src/main/java/org/apache/cocoon/wicket/target/CocoonSitemapRequestTarget.java

Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Equipment.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Equipment.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Equipment.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/Equipment.java
Fri Aug  5 18:32:35 2011
@@ -23,4 +23,5 @@ import javax.xml.bind.annotation.XmlRoot
 @XmlRootElement(name = "equipment")
 @XmlAccessorType(XmlAccessType.FIELD)
 public class Equipment {
+	public Equipment() {}
 }

Modified: cocoon/cocoon3/trunk/cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ProfilingPngSerializer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ProfilingPngSerializer.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ProfilingPngSerializer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-profiling/src/main/java/org/apache/cocoon/profiling/component/ProfilingPngSerializer.java
Fri Aug  5 18:32:35 2011
@@ -76,6 +76,7 @@ public class ProfilingPngSerializer impl
      * Writes the image data to the output stream.
      */
     public void finish() {
+    	// nothing to do
     }
 
     /**
@@ -105,6 +106,7 @@ public class ProfilingPngSerializer impl
      * {@inheritDoc}
      */
     public void setup(Map<String, Object> parameters) {
+    	// nothing to do
     }
 
     private class ProfilingDrawer {

Modified: cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/BaseURL.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/BaseURL.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/BaseURL.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/BaseURL.java
Fri Aug  5 18:32:35 2011
@@ -29,4 +29,5 @@ import java.lang.annotation.Target;
 @Target(ElementType.FIELD)
 @Inherited
 public @interface BaseURL {
+	// empty
 }

Modified: cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/Inject.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/Inject.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/Inject.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/Inject.java
Fri Aug  5 18:32:35 2011
@@ -29,4 +29,5 @@ import java.lang.annotation.Target;
 @Target(ElementType.FIELD)
 @Inherited
 public @interface Inject {
+	// empty
 }

Modified: cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/RESTController.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/RESTController.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/RESTController.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-rest/src/main/java/org/apache/cocoon/rest/controller/annotation/RESTController.java
Fri Aug  5 18:32:35 2011
@@ -29,4 +29,5 @@ import java.lang.annotation.Target;
 @Target(ElementType.TYPE)
 @Inherited
 public @interface RESTController {
+	// emtpy
 }

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/DebugFilter.java
Fri Aug  5 18:32:35 2011
@@ -49,6 +49,7 @@ public class DebugFilter implements Filt
      * @see javax.servlet.Filter#init(javax.servlet.FilterConfig)
      */
     public void init(FilterConfig config) throws ServletException {
+        // nothing to do here
     }
 
     /**

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/NodeChild.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/NodeChild.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/NodeChild.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/NodeChild.java
Fri Aug  5 18:32:35 2011
@@ -26,4 +26,5 @@ import java.lang.annotation.Target;
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.FIELD)
 public @interface NodeChild {
+	// empty
 }

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/Parameter.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/Parameter.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/Parameter.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/annotations/Parameter.java
Fri Aug  5 18:32:35 2011
@@ -26,5 +26,5 @@ import java.lang.annotation.Target;
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.FIELD)
 public @interface Parameter {
-
+    // empty
 }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/AbstractStAXPipelineComponent.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/AbstractStAXPipelineComponent.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/AbstractStAXPipelineComponent.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/AbstractStAXPipelineComponent.java
Fri Aug  5 18:32:35 2011
@@ -25,5 +25,5 @@ import org.apache.cocoon.pipeline.compon
  * Abstract base class for {@link PipelineComponent}s producing and/or consuming {@link XMLEvent}s.<br>
  */
 public abstract class AbstractStAXPipelineComponent extends AbstractPipelineComponent implements
StAXPipelineComponent {
-
+    protected AbstractStAXPipelineComponent() {}
 }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXPipelineComponent.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXPipelineComponent.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXPipelineComponent.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXPipelineComponent.java
Fri Aug  5 18:32:35 2011
@@ -26,5 +26,5 @@ import org.apache.cocoon.pipeline.compon
  * interface.
  */
 public interface StAXPipelineComponent extends PipelineComponent {
-
+    // market interface
 }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StAXEventContentHandler.java
Fri Aug  5 18:32:35 2011
@@ -455,6 +455,7 @@ public class StAXEventContentHandler ext
 
     @Override
     public void endPrefixMapping(String prefix) throws SAXException {
+        // do nothing
     }
 
     public void startCDATA() throws SAXException {
@@ -467,15 +468,19 @@ public class StAXEventContentHandler ext
     }
 
     public void endDTD() throws SAXException {
+        // do nothing
     }
 
     public void endEntity(String name) throws SAXException {
+        // do nothing
     }
 
     public void startDTD(String name, String publicId, String systemId) throws SAXException
{
+        // do nothing
     }
 
     public void startEntity(String name) throws SAXException {
+        // do nothing
     }
 
     /**

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StaticNamespaceContext.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StaticNamespaceContext.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StaticNamespaceContext.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/converter/util/StaticNamespaceContext.java
Fri Aug  5 18:32:35 2011
@@ -46,4 +46,5 @@ import javax.xml.namespace.NamespaceCont
  * @modified false
  */
 public interface StaticNamespaceContext extends NamespaceContext {
+	// marker interface
 }

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/test/java/org/apache/cocoon/stax/stress/test/EmitTransformerTest.java
Fri Aug  5 18:32:35 2011
@@ -83,15 +83,19 @@ public class EmitTransformerTest {
             }
 
             public void setConsumer(Consumer consumer) {
+                // do nothing
             }
 
             public void finish() {
+                // do nothing
             }
 
             public void setConfiguration(Map<String, ? extends Object> configuration)
{
+                // do nothing
             }
 
             public void setup(Map<String, Object> parameters) {
+                // do nothing
             }
         });
 

Modified: cocoon/cocoon3/trunk/cocoon-wicket/src/main/java/org/apache/cocoon/wicket/target/CocoonSitemapRequestTarget.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-wicket/src/main/java/org/apache/cocoon/wicket/target/CocoonSitemapRequestTarget.java?rev=1154339&r1=1154338&r2=1154339&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-wicket/src/main/java/org/apache/cocoon/wicket/target/CocoonSitemapRequestTarget.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-wicket/src/main/java/org/apache/cocoon/wicket/target/CocoonSitemapRequestTarget.java
Fri Aug  5 18:32:35 2011
@@ -59,6 +59,7 @@ public class CocoonSitemapRequestTarget 
     }
 
     public void detach(RequestCycle requestCycle) {
+        // do nothing
     }
 
     public void respond(RequestCycle requestCycle) {



Mime
View raw message