Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also consistently apply a new line at the end of each file. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
1c25cec44f
commit
a89e716cc7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -168,8 +168,8 @@ public abstract class AbstractMarshallerTests<M extends Marshaller> {
|
||||
assertThat("Marshaller writes invalid StreamResult", writer.toString(), isSimilarTo(EXPECTED_STRING));
|
||||
}
|
||||
|
||||
private static CompareMatcher isSimilarTo(final Object content) {
|
||||
return CompareMatcher.isSimilarTo(content)
|
||||
.ignoreWhitespace();
|
||||
}
|
||||
private static CompareMatcher isSimilarTo(final Object content) {
|
||||
return CompareMatcher.isSimilarTo(content)
|
||||
.ignoreWhitespace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2011 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -42,4 +42,4 @@ public class CastorObject {
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,4 +29,4 @@ public class XmlRegObjectFactory {
|
||||
public JAXBElement<Airplane> createAirplane(Airplane airplane) {
|
||||
return new JAXBElement<>(new QName("brand-airplane"), Airplane.class, null, airplane);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user