cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevend...@apache.org
Subject svn commit: r1159302 - /cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java
Date Thu, 18 Aug 2011 16:30:00 GMT
Author: stevendolg
Date: Thu Aug 18 16:30:00 2011
New Revision: 1159302

URL: http://svn.apache.org/viewvc?rev=1159302&view=rev
Log:
Removed redundant modifiers.
Removed unused import.

Modified:
    cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java

Modified: cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java?rev=1159302&r1=1159301&r2=1159302&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stax/src/main/java/org/apache/cocoon/stax/StAXProducer.java
Thu Aug 18 16:30:00 2011
@@ -16,7 +16,6 @@
  */
 package org.apache.cocoon.stax;
 
-import javax.xml.stream.XMLEventReader;
 import javax.xml.stream.XMLStreamException;
 import javax.xml.stream.events.XMLEvent;
 
@@ -25,7 +24,8 @@ import org.apache.cocoon.pipeline.compon
 /**
  * Extension of the cocoon {@link Producer} element for all StAX specific components. This
interface
  * extends the base {@link Producer} with three methods directly taken from the
- * {@link XMLEventReader} interface which are required to implement an StAX component.
+ * {@link javax.xml.stream.XMLEventReader XMLEventReader} interface which are required to
implement
+ * a StAX component.
  */
 public interface StAXProducer extends Producer, StAXPipelineComponent {
 
@@ -35,19 +35,19 @@ public interface StAXProducer extends Pr
      * 
      * @see XMLEvent
      */
-    public XMLEvent peek() throws XMLStreamException;
+    XMLEvent peek() throws XMLStreamException;
 
     /**
      * Check if there are more events. Returns true if there are more events and false otherwise.
      * 
      * @return true if the event reader has more events, false otherwise
      */
-    public boolean hasNext() throws XMLStreamException;
+    boolean hasNext() throws XMLStreamException;
 
     /**
      * Get the next XMLEvent
      * 
      * @see XMLEvent
      */
-    public XMLEvent nextEvent() throws XMLStreamException;
+    XMLEvent nextEvent() throws XMLStreamException;
 }



Mime
View raw message