Remove trailing whitespace in source files
find . -type f -name "*.java" -or -name "*.aj" | \
xargs perl -p -i -e "s/[ \t]*$//g" {} \;
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
44a474a014
commit
1762157ad1
@@ -30,7 +30,7 @@ import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Tests the {@link OxmNamespaceHandler} class.
|
||||
*
|
||||
*
|
||||
* @author Arjen Poustma
|
||||
* @author Jakub Narloch
|
||||
*/
|
||||
|
||||
@@ -163,7 +163,7 @@ public class Jaxb2MarshallerTests extends AbstractMarshallerTests {
|
||||
marshaller.afterPropertiesSet();
|
||||
testSupports();
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void supportsPackagesToScan() throws Exception {
|
||||
marshaller = new Jaxb2Marshaller();
|
||||
@@ -261,7 +261,7 @@ public class Jaxb2MarshallerTests extends AbstractMarshallerTests {
|
||||
assertFalse("Jaxb2Marshaller supports DummyType class", marshaller.supports(DummyType.class));
|
||||
assertFalse("Jaxb2Marshaller supports DummyType type", marshaller.supports((Type)DummyType.class));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
public void marshalAttachments() throws Exception {
|
||||
@@ -307,5 +307,5 @@ public class Jaxb2MarshallerTests extends AbstractMarshallerTests {
|
||||
private JAXBElement<DummyType> createDummyType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public class Primitives {
|
||||
public JAXBElement<Double> primitiveDouble() {
|
||||
return new JAXBElement<Double>(NAME, Double.class, 42D);
|
||||
}
|
||||
|
||||
|
||||
public JAXBElement<byte[]> primitiveByteArray() {
|
||||
return new JAXBElement<byte[]>(NAME, byte[].class, new byte[]{42});
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ public class StandardClasses {
|
||||
Duration duration = factory.newDuration(42000);
|
||||
return new JAXBElement<Duration>(NAME, Duration.class, duration);
|
||||
}
|
||||
|
||||
|
||||
public JAXBElement<Image> standardClassImage() throws IOException {
|
||||
Image image = ImageIO.read(getClass().getResourceAsStream("spring-ws.png"));
|
||||
return new JAXBElement<Image>(NAME, Image.class, image);
|
||||
|
||||
@@ -216,7 +216,7 @@ public class XStreamMarshallerTests {
|
||||
String expected = "<flight flightNumber=\"42\" />";
|
||||
assertXMLEqual("Marshaller does not use attributes", expected, writer.toString());
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void useAttributesForClassStringListMap() throws Exception {
|
||||
marshaller
|
||||
@@ -278,7 +278,7 @@ public class XStreamMarshallerTests {
|
||||
Flights flights = new Flights();
|
||||
flights.getFlights().add(flight);
|
||||
flights.getStrings().add("42");
|
||||
|
||||
|
||||
Map<String, Class> aliases = new HashMap<String, Class>();
|
||||
aliases.put("flight", Flight.class);
|
||||
aliases.put("flights", Flights.class);
|
||||
|
||||
Reference in New Issue
Block a user