From d2251a12c3638ad3349ab95a7887bcbbb0674f7f Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 20 Mar 2012 09:22:49 +0100 Subject: [PATCH] Fixed illegal characters in JibxUnmarshallerTests JibxUnmarshallerTests contained UTF-8 characters; this commit changes those to the \uXXX notation, as all Java source files should be in Latin-1. --- .../org/springframework/oxm/jibx/JibxUnmarshallerTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java index 871af7388f..505befb1c5 100644 --- a/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java +++ b/spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java @@ -37,7 +37,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests { protected static final String INPUT_STRING_WITH_SPECIAL_CHARACTERS = "" + - "Air Liberté42"; + "Air Libert\u00e942"; @Override protected Unmarshaller createUnmarshaller() throws Exception { @@ -78,7 +78,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests { testFlights(flights); FlightType flight = ((Flights)flights).getFlight(0); - assertEquals("Airline is invalid", "Air Liberté", flight.getAirline()); + assertEquals("Airline is invalid", "Air Libert\u00e9", flight.getAirline()); } }