Author: rdonkin
Date: Sat Dec 7 11:25:26 2013
New Revision: 1548880
URL: http://svn.apache.org/r1548880
Log:
Apply PMD Rules.
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java
URL:
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java?rev=1548880&r1=1548879&r2=1548880&view=diff
==============================================================================
---
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java
(original)
+++
creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/writer/IXmlWriter.java
Sat Dec 7 11:25:26 2013
@@ -35,7 +35,7 @@ public interface IXmlWriter {
* if called after the first element has been written or
once a
* prolog has already been written
*/
- public IXmlWriter startDocument() throws IOException;
+ IXmlWriter startDocument() throws IOException;
/**
* Writes the start of an element.
@@ -48,7 +48,7 @@ public interface IXmlWriter {
* @throws OperationNotAllowedException
* if called after the first element has been closed
*/
- public IXmlWriter openElement(CharSequence elementName) throws
IOException;
+ IXmlWriter openElement(CharSequence elementName) throws IOException;
/**
* Writes an attribute of an element. Note that this is only allowed
@@ -67,7 +67,7 @@ public interface IXmlWriter {
* {@link #closeElement()} or before any call to
* {@link #openElement(CharSequence)}
*/
- public IXmlWriter attribute(CharSequence name, CharSequence value)
+ IXmlWriter attribute(CharSequence name, CharSequence value)
throws IOException;
/**
@@ -81,7 +81,7 @@ public interface IXmlWriter {
* if called before any call to {@link #openElement} or
after
* the first element has been closed
*/
- public IXmlWriter content(CharSequence content) throws IOException;
+ IXmlWriter content(CharSequence content) throws IOException;
/**
* Closes the last element written.
@@ -91,7 +91,7 @@ public interface IXmlWriter {
* if called before any call to {@link #openElement} or
after
* the first element has been closed
*/
- public IXmlWriter closeElement() throws IOException;
+ IXmlWriter closeElement() throws IOException;
/**
* Closes all pending elements. When appropriate, resources are also
flushed
@@ -102,5 +102,5 @@ public interface IXmlWriter {
* @throws OperationNotAllowedException
* if called before any call to {@link #openElement}
*/
- public IXmlWriter closeDocument() throws IOException;
+ IXmlWriter closeDocument() throws IOException;
}