Replace space indentation with tabs
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
1762157ad1
commit
2cf45bad86
@@ -30,9 +30,9 @@ public abstract class XmlMappingException extends NestedRuntimeException {
|
||||
* Construct an <code>XmlMappingException</code> with the specified detail message.
|
||||
* @param msg the detail message
|
||||
*/
|
||||
public XmlMappingException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
public XmlMappingException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct an <code>XmlMappingException</code> with the specified detail message
|
||||
@@ -40,8 +40,8 @@ public abstract class XmlMappingException extends NestedRuntimeException {
|
||||
* @param msg the detail message
|
||||
* @param cause the nested exception
|
||||
*/
|
||||
public XmlMappingException(String msg, Throwable cause) {
|
||||
super(msg, cause);
|
||||
}
|
||||
public XmlMappingException(String msg, Throwable cause) {
|
||||
super(msg, cause);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -425,12 +425,12 @@ public class XStreamMarshaller extends AbstractMarshaller implements Initializin
|
||||
|
||||
@Override
|
||||
protected void marshalOutputStream(Object graph, OutputStream outputStream) throws XmlMappingException, IOException {
|
||||
if (this.streamDriver != null) {
|
||||
marshal(graph, this.streamDriver.createWriter(outputStream));
|
||||
}
|
||||
else {
|
||||
marshalWriter(graph, new OutputStreamWriter(outputStream, this.encoding));
|
||||
}
|
||||
if (this.streamDriver != null) {
|
||||
marshal(graph, this.streamDriver.createWriter(outputStream));
|
||||
}
|
||||
else {
|
||||
marshalWriter(graph, new OutputStreamWriter(outputStream, this.encoding));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user