apply source formatter
diff --git a/src/main/java/org/yaml/snakeyaml/composer/Composer.java b/src/main/java/org/yaml/snakeyaml/composer/Composer.java
index 14e7cdc..6ced2eb 100644
--- a/src/main/java/org/yaml/snakeyaml/composer/Composer.java
+++ b/src/main/java/org/yaml/snakeyaml/composer/Composer.java
@@ -43,8 +43,8 @@
/**
* Creates a node graph from parser events.
* <p>
- * Corresponds to the 'Compose' step as described in chapter 3.1 of the
- * <a href="http://yaml.org/spec/1.1/">YAML Specification</a>.
+ * Corresponds to the 'Compose' step as described in chapter 3.1 of the <a
+ * href="http://yaml.org/spec/1.1/">YAML Specification</a>.
* </p>
*/
public class Composer {
@@ -62,6 +62,7 @@
/**
* Checks if further documents are available.
+ *
* @return <code>true</code> if there is at least one more document.
*/
public boolean checkNode() {
@@ -75,8 +76,9 @@
/**
* Reads and composes the next document.
- * @return The root node of the document or <code>null</code> if no
- * more documents are available.
+ *
+ * @return The root node of the document or <code>null</code> if no more
+ * documents are available.
*/
public Node getNode() {
// Get the root node of the next document.
@@ -88,13 +90,13 @@
}
/**
- * Reads a document from a source that contains only one
- * document.
+ * Reads a document from a source that contains only one document.
* <p>
* If the stream contains more than one document an exception is thrown.
* </p>
- * @return The root node of the document or <code>null</code> if no
- * document is available.
+ *
+ * @return The root node of the document or <code>null</code> if no document
+ * is available.
*/
public Node getSingleNode() {
// Drop the STREAM-START event.
diff --git a/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java
index 3ad1696..c28d1cc 100644
--- a/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/CollectionStartEvent.java
@@ -38,14 +38,18 @@
/**
* Tag of this collection.
- * @return The tag of this collection, or <code>null</code> if no explicit tag is available.
+ *
+ * @return The tag of this collection, or <code>null</code> if no explicit
+ * tag is available.
*/
public String getTag() {
return this.tag;
}
/**
- * <code>true</code> if the tag can be omitted while this collection is emitted.
+ * <code>true</code> if the tag can be omitted while this collection is
+ * emitted.
+ *
* @return True if the tag can be omitted while this collection is emitted.
*/
public boolean getImplicit() {
@@ -55,6 +59,7 @@
/**
* <code>true</code> if this collection is in flow style, <code>false</code>
* for block style.
+ *
* @return If this collection is in flow style.
*/
public Boolean getFlowStyle() {
diff --git a/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java
index b9488f6..f75c5f2 100644
--- a/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/DocumentStartEvent.java
@@ -43,11 +43,12 @@
}
/**
- * YAML version the document conforms to.
- * @return <code>null</code>if the document has no explicit
- * <code>%YAML</code> directive.
- * Otherwise an array with two components, the major and minor part of
- * the version (in this order).
+ * YAML version the document conforms to.
+ *
+ * @return <code>null</code>if the document has no explicit
+ * <code>%YAML</code> directive. Otherwise an array with two
+ * components, the major and minor part of the version (in this
+ * order).
*/
public Integer[] getVersion() {
return version;
@@ -55,8 +56,9 @@
/**
* Tag shorthands as defined by the <code>%TAG</code> directive.
- * @return Mapping of 'handles' to 'prefixes' (the handles
- * include the '!' characters).
+ *
+ * @return Mapping of 'handles' to 'prefixes' (the handles include the '!'
+ * characters).
*/
public Map<String, String> getTags() {
return tags;
diff --git a/src/main/java/org/yaml/snakeyaml/events/Event.java b/src/main/java/org/yaml/snakeyaml/events/Event.java
index 4339308..84d36af 100644
--- a/src/main/java/org/yaml/snakeyaml/events/Event.java
+++ b/src/main/java/org/yaml/snakeyaml/events/Event.java
@@ -18,8 +18,8 @@
import org.yaml.snakeyaml.error.Mark;
/**
- * Basic unit of output from a {@link org.yaml.snakeyaml.parser.Parser}
- * or input of a {@link org.yaml.snakeyaml.emitter.Emitter}.
+ * Basic unit of output from a {@link org.yaml.snakeyaml.parser.Parser} or input
+ * of a {@link org.yaml.snakeyaml.emitter.Emitter}.
*/
public abstract class Event {
private final Mark startMark;
@@ -48,7 +48,6 @@
protected String getArguments() {
return "";
}
-
/*
* for tests only
diff --git a/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java
index 68b02fa..0eee806 100644
--- a/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/MappingStartEvent.java
@@ -20,17 +20,15 @@
/**
* Marks the beginning of a mapping node.
* <p>
- * This event is followed by a number of key value pairs.
- * <br>
- * The pairs are not in any particular order. However, the value
- * always directly follows the corresponding key.
- * <br>
+ * This event is followed by a number of key value pairs. <br>
+ * The pairs are not in any particular order. However, the value always directly
+ * follows the corresponding key. <br>
* After the key value pairs follows a {@link MappingEndEvent}.
* </p>
* <p>
- * There must be an even number of node events between the start
- * and end event.
+ * There must be an even number of node events between the start and end event.
* </p>
+ *
* @see MappingEndEvent
*/
public final class MappingStartEvent extends CollectionStartEvent {
diff --git a/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java b/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java
index e7ec518..b61a006 100644
--- a/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/NodeEvent.java
@@ -18,8 +18,7 @@
import org.yaml.snakeyaml.error.Mark;
/**
- * Base class for all events that mark the beginning
- * of a node.
+ * Base class for all events that mark the beginning of a node.
*/
public abstract class NodeEvent extends Event {
@@ -31,11 +30,12 @@
}
/**
- * Node anchor by which this node might later be referenced
- * by a {@link AliasEvent}.
+ * Node anchor by which this node might later be referenced by a
+ * {@link AliasEvent}.
* <p>
- * Note that {@link AliasEvent}s are by it self <code>NodeEvent</code>s
- * and use this property to indicate the referenced anchor.
+ * Note that {@link AliasEvent}s are by it self <code>NodeEvent</code>s and
+ * use this property to indicate the referenced anchor.
+ *
* @return Anchor of this node or <code>null</code> if no anchor is defined.
*/
public String getAnchor() {
diff --git a/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java
index 5521964..5333e31 100644
--- a/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/SequenceStartEvent.java
@@ -20,9 +20,10 @@
/**
* Marks the beginning of a sequence node.
* <p>
- * This event is followed by the elements contained in the sequence, and
- * a {@link SequenceEndEvent}.
+ * This event is followed by the elements contained in the sequence, and a
+ * {@link SequenceEndEvent}.
* </p>
+ *
* @see SequenceEndEvent
*/
public final class SequenceStartEvent extends CollectionStartEvent {
diff --git a/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java b/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java
index eed1bf6..f022819 100644
--- a/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/StreamEndEvent.java
@@ -20,9 +20,9 @@
/**
* Marks the end of a stream that might have contained multiple documents.
* <p>
- * This event is the last event that a parser emits. Together
- * with {@link StreamStartEvent} (which is the first event a parser emits)
- * they mark the beginning and the end of a stream of documents.
+ * This event is the last event that a parser emits. Together with
+ * {@link StreamStartEvent} (which is the first event a parser emits) they mark
+ * the beginning and the end of a stream of documents.
* </p>
* <p>
* See {@link Event} for an exemplary output.
diff --git a/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java b/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java
index 5bdbd4f..8736ea7 100644
--- a/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java
+++ b/src/main/java/org/yaml/snakeyaml/events/StreamStartEvent.java
@@ -20,9 +20,9 @@
/**
* Marks the start of a stream that might contain multiple documents.
* <p>
- * This event is the first event that a parser emits. Together
- * with {@link StreamEndEvent} (which is the last event a parser emits)
- * they mark the beginning and the end of a stream of documents.
+ * This event is the first event that a parser emits. Together with
+ * {@link StreamEndEvent} (which is the last event a parser emits) they mark the
+ * beginning and the end of a stream of documents.
* </p>
* <p>
* See {@link Event} for an exemplary output.
diff --git a/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java b/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java
index 5fb533b..bf47839 100644
--- a/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java
+++ b/src/main/java/org/yaml/snakeyaml/nodes/MappingNode.java
@@ -53,6 +53,7 @@
/**
* Returns the entries of this map.
+ *
* @return List of entries.
*/
public List<NodeTuple> getValue() {
diff --git a/src/main/java/org/yaml/snakeyaml/nodes/Node.java b/src/main/java/org/yaml/snakeyaml/nodes/Node.java
index b861172..9e689f1 100644
--- a/src/main/java/org/yaml/snakeyaml/nodes/Node.java
+++ b/src/main/java/org/yaml/snakeyaml/nodes/Node.java
@@ -20,14 +20,14 @@
/**
* Base class for all nodes.
* <p>
- * The nodes form the node-graph described in the
- * <a href="http://yaml.org/spec/1.1/">YAML Specification</a>.
+ * The nodes form the node-graph described in the <a
+ * href="http://yaml.org/spec/1.1/">YAML Specification</a>.
* </p>
* <p>
- * While loading, the node graph is usually created by the
- * {@link org.yaml.snakeyaml.composer.Composer},
- * and later transformed into application specific Java classes by the
- * classes from the {@link org.yaml.snakeyaml.constructor} package.
+ * While loading, the node graph is usually created by the
+ * {@link org.yaml.snakeyaml.composer.Composer}, and later transformed into
+ * application specific Java classes by the classes from the
+ * {@link org.yaml.snakeyaml.constructor} package.
* </p>
*/
public abstract class Node {
@@ -55,8 +55,8 @@
/**
* Tag of this node.
* <p>
- * Every node has a tag assigned. The tag
- * is either local or global.
+ * Every node has a tag assigned. The tag is either local or global.
+ *
* @return Tag of this node.
*/
public String getTag() {
@@ -109,17 +109,18 @@
/**
* Indicates if this node must be constructed in two steps.
* <p>
- * Two-step construction is required whenever a node is
- * a child (direct or indirect) of it self. That is,
- * if a recursive structure is build using anchors and aliases.
+ * Two-step construction is required whenever a node is a child (direct or
+ * indirect) of it self. That is, if a recursive structure is build using
+ * anchors and aliases.
* </p>
* <p>
- * Set by {@link org.yaml.snakeyaml.composer.Composer},
- * used during the construction process.
+ * Set by {@link org.yaml.snakeyaml.composer.Composer}, used during the
+ * construction process.
* </p>
* <p>
* Only relevant during loading.
* </p>
+ *
* @return <code>true</code> if the node is self referenced.
*/
public boolean isTwoStepsConstruction() {
@@ -147,7 +148,9 @@
}
/**
- * Indicates if the tag was added by {@link org.yaml.snakeyaml.resolver.Resolver}.
+ * Indicates if the tag was added by
+ * {@link org.yaml.snakeyaml.resolver.Resolver}.
+ *
* @return <code>true</code> if the tag of this node was resolved</code>
*/
public boolean isResolved() {
diff --git a/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java b/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java
index 32be6cd..373cdb1 100644
--- a/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java
+++ b/src/main/java/org/yaml/snakeyaml/nodes/NodeTuple.java
@@ -40,6 +40,7 @@
/**
* Value node.
+ *
* @return value
*/
public Node getValueNode() {
diff --git a/src/main/java/org/yaml/snakeyaml/parser/Parser.java b/src/main/java/org/yaml/snakeyaml/parser/Parser.java
index d2bac9a..071a937 100644
--- a/src/main/java/org/yaml/snakeyaml/parser/Parser.java
+++ b/src/main/java/org/yaml/snakeyaml/parser/Parser.java
@@ -22,23 +22,25 @@
/**
* This interface represents an input stream of {@link Event Events}.
* <p>
- * The parser and the scanner form together the 'Parse' step in
- * the loading process (see chapter 3.1 of the
- * <a href="http://yaml.org/spec/1.1/">YAML Specification</a>).
+ * The parser and the scanner form together the 'Parse' step in the loading
+ * process (see chapter 3.1 of the <a href="http://yaml.org/spec/1.1/">YAML
+ * Specification</a>).
* </p>
*
* @see org.yaml.snakeyaml.events.Event
*/
public interface Parser {
-
+
/**
* Check if the next event is one of the given types.
- *
- * @param choices List of event types.
- * @return <code>true</code> if the next event can be assigned to a
- * variable of at least one of the given types. Returns <code>false</code>
- * if no more events are available.
- * @throws ParserException Thrown in case of malformed input.
+ *
+ * @param choices
+ * List of event types.
+ * @return <code>true</code> if the next event can be assigned to a variable
+ * of at least one of the given types. Returns <code>false</code> if
+ * no more events are available.
+ * @throws ParserException
+ * Thrown in case of malformed input.
*/
public boolean checkEvent(List<Class<? extends Event>> choices);
@@ -46,27 +48,36 @@
* Check if the next event is assignable to the given type.
* <p>
* This is a convenience method to avoid <code>List</code> creation if
- * calling {@link #checkEvent(List)} for
- * a single type.
+ * calling {@link #checkEvent(List)} for a single type.
* </p>
- * @param choice Event type.
- * @return True if the next event is an instance of <code>type</code>.
- * False if no more events are available.
- * @throws ParserException Thrown in case of malformed input.
+ *
+ * @param choice
+ * Event type.
+ * @return True if the next event is an instance of <code>type</code>. False
+ * if no more events are available.
+ * @throws ParserException
+ * Thrown in case of malformed input.
*/
public boolean checkEvent(Class<? extends Event> choice);
/**
* Return the next event, but do not delete it from the stream.
- * @return The event that will be returned on the next call to {@link #getEvent}
- * @throws ParserException Thrown in case of malformed input.
+ *
+ * @return The event that will be returned on the next call to
+ * {@link #getEvent}
+ * @throws ParserException
+ * Thrown in case of malformed input.
*/
public Event peekEvent();
/**
* Returns the next event.
- * <p>The event will be removed from the stream.</p>
- * @throws ParserException Thrown in case of malformed input.
+ * <p>
+ * The event will be removed from the stream.
+ * </p>
+ *
+ * @throws ParserException
+ * Thrown in case of malformed input.
*/
public Event getEvent();
}
diff --git a/src/main/java/org/yaml/snakeyaml/parser/ParserException.java b/src/main/java/org/yaml/snakeyaml/parser/ParserException.java
index 24deba5..818462a 100644
--- a/src/main/java/org/yaml/snakeyaml/parser/ParserException.java
+++ b/src/main/java/org/yaml/snakeyaml/parser/ParserException.java
@@ -19,21 +19,24 @@
import org.yaml.snakeyaml.error.MarkedYAMLException;
/**
- * Exception thrown by the {@link Parser} implementations in case of
- * malformed input.
+ * Exception thrown by the {@link Parser} implementations in case of malformed
+ * input.
*/
public class ParserException extends MarkedYAMLException {
private static final long serialVersionUID = -2349253802798398038L;
/**
* Constructs an instance.
- * @param context Part of the input document in which vicinity
- * the problem occurred.
- * @param contextMark Position of the <code>context</code>
- * within the document.
- * @param problem Part of the input document that caused the problem.
- * @param problemMark Position of the <code>problem</code>.
- * within the document.
+ *
+ * @param context
+ * Part of the input document in which vicinity the problem
+ * occurred.
+ * @param contextMark
+ * Position of the <code>context</code> within the document.
+ * @param problem
+ * Part of the input document that caused the problem.
+ * @param problemMark
+ * Position of the <code>problem</code>. within the document.
*/
public ParserException(String context, Mark contextMark, String problem, Mark problemMark) {
super(context, contextMark, problem, problemMark, null, null);
diff --git a/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java b/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java
index ef149af..43e4f16 100644
--- a/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java
+++ b/src/main/java/org/yaml/snakeyaml/scanner/Scanner.java
@@ -22,23 +22,25 @@
/**
* This interface represents an input stream of {@link Token Tokens}.
* <p>
- * The parser and the scanner form together the 'Parse' step in
- * the loading process (see chapter 3.1 of the
- * <a href="http://yaml.org/spec/1.1/">YAML Specification</a>).
+ * The parser and the scanner form together the 'Parse' step in the loading
+ * process (see chapter 3.1 of the <a href="http://yaml.org/spec/1.1/">YAML
+ * Specification</a>).
* </p>
- *
+ *
* @see org.yaml.snakeyaml.tokens.Token
*/
public interface Scanner {
-
+
/**
* Check if the next token is one of the given types.
- *
- * @param choices List of token types.
- * @return <code>true</code> if the next token can be assigned to a
- * variable of at least one of the given types. Returns <code>false</code>
- * if no more tokens are available.
- * @throws ScannerException Thrown in case of malformed input.
+ *
+ * @param choices
+ * List of token types.
+ * @return <code>true</code> if the next token can be assigned to a variable
+ * of at least one of the given types. Returns <code>false</code> if
+ * no more tokens are available.
+ * @throws ScannerException
+ * Thrown in case of malformed input.
*/
boolean checkToken(List<Class<? extends Token>> choices);
@@ -46,27 +48,36 @@
* Check if the next token is assignable to the given type.
* <p>
* This is a convenience method to avoid <code>List</code> creation if
- * calling {@link #checkToken(List)} for
- * a single type.
+ * calling {@link #checkToken(List)} for a single type.
* </p>
- * @param choice Token type.
- * @return True if the next token is an instance of <code>type</code>.
- * False if no more tokens are available.
- * @throws ScannerException Thrown in case of malformed input.
+ *
+ * @param choice
+ * Token type.
+ * @return True if the next token is an instance of <code>type</code>. False
+ * if no more tokens are available.
+ * @throws ScannerException
+ * Thrown in case of malformed input.
*/
boolean checkToken(Class<? extends Token> choice);
/**
* Return the next token, but do not delete it from the stream.
- * @return The token that will be returned on the next call to {@link #getToken}
- * @throws ScannerException Thrown in case of malformed input.
+ *
+ * @return The token that will be returned on the next call to
+ * {@link #getToken}
+ * @throws ScannerException
+ * Thrown in case of malformed input.
*/
Token peekToken();
/**
* Returns the next token.
- * <p>The token will be removed from the stream.</p>
- * @throws ScannerException Thrown in case of malformed input.
+ * <p>
+ * The token will be removed from the stream.
+ * </p>
+ *
+ * @throws ScannerException
+ * Thrown in case of malformed input.
*/
Token getToken();
}
diff --git a/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java b/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java
index 2029a07..85d1bcc 100644
--- a/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java
+++ b/src/main/java/org/yaml/snakeyaml/scanner/ScannerException.java
@@ -19,23 +19,28 @@
import org.yaml.snakeyaml.error.MarkedYAMLException;
/**
- * Exception thrown by the {@link Scanner} implementations in case of
- * malformed input.
+ * Exception thrown by the {@link Scanner} implementations in case of malformed
+ * input.
*/
public class ScannerException extends MarkedYAMLException {
-
+
private static final long serialVersionUID = 4782293188600445954L;
/**
* Constructs an instance.
- * @param context Part of the input document in which vicinity
- * the problem occurred.
- * @param contextMark Position of the <code>context</code>
- * within the document.
- * @param problem Part of the input document that caused the problem.
- * @param problemMark Position of the <code>problem</code>
- * within the document.
- * @param note Message for the user with further information about the problem.
+ *
+ * @param context
+ * Part of the input document in which vicinity the problem
+ * occurred.
+ * @param contextMark
+ * Position of the <code>context</code> within the document.
+ * @param problem
+ * Part of the input document that caused the problem.
+ * @param problemMark
+ * Position of the <code>problem</code> within the document.
+ * @param note
+ * Message for the user with further information about the
+ * problem.
*/
public ScannerException(String context, Mark contextMark, String problem, Mark problemMark,
String note) {
@@ -44,13 +49,16 @@
/**
* Constructs an instance.
- * @param context Part of the input document in which vicinity
- * the problem occurred.
- * @param contextMark Position of the <code>context</code>
- * within the document.
- * @param problem Part of the input document that caused the problem.
- * @param problemMark Position of the <code>problem</code>
- * within the document.
+ *
+ * @param context
+ * Part of the input document in which vicinity the problem
+ * occurred.
+ * @param contextMark
+ * Position of the <code>context</code> within the document.
+ * @param problem
+ * Part of the input document that caused the problem.
+ * @param problemMark
+ * Position of the <code>problem</code> within the document.
*/
public ScannerException(String context, Mark contextMark, String problem, Mark problemMark) {
this(context, contextMark, problem, problemMark, null);
diff --git a/src/test/java/org/pyyaml/PyEmitterTest.java b/src/test/java/org/pyyaml/PyEmitterTest.java
index e3a778d..36fa54a 100644
--- a/src/test/java/org/pyyaml/PyEmitterTest.java
+++ b/src/test/java/org/pyyaml/PyEmitterTest.java
@@ -19,9 +19,9 @@
import java.io.FileInputStream;
import java.io.IOException;
import java.io.StringWriter;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
-import java.util.ArrayList;
import java.util.List;
import org.yaml.snakeyaml.DumperOptions;
diff --git a/src/test/java/org/pyyaml/PyStructureTest.java b/src/test/java/org/pyyaml/PyStructureTest.java
index ee3583c..05572f2 100644
--- a/src/test/java/org/pyyaml/PyStructureTest.java
+++ b/src/test/java/org/pyyaml/PyStructureTest.java
@@ -19,8 +19,8 @@
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
-import java.util.Iterator;
import java.util.ArrayList;
+import java.util.Iterator;
import java.util.List;
import org.yaml.snakeyaml.Loader;
diff --git a/src/test/java/org/yaml/snakeyaml/DumperOptionsTest.java b/src/test/java/org/yaml/snakeyaml/DumperOptionsTest.java
index bcd8bfc..3ec692a 100644
--- a/src/test/java/org/yaml/snakeyaml/DumperOptionsTest.java
+++ b/src/test/java/org/yaml/snakeyaml/DumperOptionsTest.java
@@ -15,8 +15,8 @@
*/
package org.yaml.snakeyaml;
-import java.util.LinkedHashMap;
import java.util.ArrayList;
+import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/AbstractHuman.java b/src/test/java/org/yaml/snakeyaml/recursive/AbstractHuman.java
index 56af038..810dea9 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/AbstractHuman.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/AbstractHuman.java
@@ -45,5 +45,5 @@
public void setBirthPlace(String birthPlace) {
this.birthPlace = birthPlace;
}
-
+
}
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/Human2.java b/src/test/java/org/yaml/snakeyaml/recursive/Human2.java
index dfc0401..8cb78ed 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/Human2.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/Human2.java
@@ -25,7 +25,7 @@
private Human2 partner;
private Human2 bankAccountOwner;
protected Map<Human2, String> children;
-
+
public Human2() {
children = new HashMap<Human2, String>();
}
@@ -69,5 +69,5 @@
public void setChildren(Map<Human2, String> children) {
this.children = children;
}
-
+
}
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/Human3.java b/src/test/java/org/yaml/snakeyaml/recursive/Human3.java
index e896a5e..fb328a2 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/Human3.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/Human3.java
@@ -25,7 +25,7 @@
private Human3 partner;
private Human3 bankAccountOwner;
protected List<Human3> children;
-
+
public Human3() {
children = new ArrayList<Human3>();
}
@@ -69,5 +69,5 @@
public void setChildren(List<Human3> children) {
this.children = children;
}
-
+
}
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/generics/AbstractHumanGen.java b/src/test/java/org/yaml/snakeyaml/recursive/generics/AbstractHumanGen.java
index 9db97bf..f9e1228 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/generics/AbstractHumanGen.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/generics/AbstractHumanGen.java
@@ -90,5 +90,5 @@
public void setBankAccountOwner(K bankAccountOwner) {
this.bankAccountOwner = bankAccountOwner;
}
-
+
}
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen.java b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen.java
index 674de4a..70b22cd 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen.java
@@ -18,7 +18,7 @@
import java.util.LinkedHashSet;
import java.util.Set;
-public class HumanGen extends AbstractHumanGen<Set<HumanGen>, HumanGen>{
+public class HumanGen extends AbstractHumanGen<Set<HumanGen>, HumanGen> {
public HumanGen() {
children = new LinkedHashSet<HumanGen>();
}
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen2.java b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen2.java
index 627c90d..a709a0a 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen2.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen2.java
@@ -18,7 +18,7 @@
import java.util.HashMap;
import java.util.Map;
-public class HumanGen2 extends AbstractHumanGen<Map<HumanGen2, String>, HumanGen2>{
+public class HumanGen2 extends AbstractHumanGen<Map<HumanGen2, String>, HumanGen2> {
public HumanGen2() {
children = new HashMap<HumanGen2, String>();
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen3.java b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen3.java
index 8f548cc..73cdd89 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen3.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGen3.java
@@ -18,7 +18,7 @@
import java.util.ArrayList;
import java.util.List;
-public class HumanGen3 extends AbstractHumanGen<List<HumanGen3>, HumanGen3>{
+public class HumanGen3 extends AbstractHumanGen<List<HumanGen3>, HumanGen3> {
public HumanGen3() {
children = new ArrayList<HumanGen3>();
diff --git a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGenericsTest.java b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGenericsTest.java
index bbe0379..95719cd 100644
--- a/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGenericsTest.java
+++ b/src/test/java/org/yaml/snakeyaml/recursive/generics/HumanGenericsTest.java
@@ -17,11 +17,11 @@
import java.beans.IntrospectionException;
import java.io.IOException;
+import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
-import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
diff --git a/src/test/java/org/yaml/snakeyaml/representer/SafeRepresenterTest.java b/src/test/java/org/yaml/snakeyaml/representer/SafeRepresenterTest.java
index ce44efd..b820f44 100644
--- a/src/test/java/org/yaml/snakeyaml/representer/SafeRepresenterTest.java
+++ b/src/test/java/org/yaml/snakeyaml/representer/SafeRepresenterTest.java
@@ -16,10 +16,10 @@
package org.yaml.snakeyaml.representer;
import java.math.BigInteger;
+import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
-import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;