Skip to content

Commit 091e7bb

Browse files
committed
Remove duplicate copy of flight.xsd
See 85eb589 See gh-25787
1 parent b76e0c4 commit 091e7bb

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2UnmarshallerTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@
3131
import org.junit.jupiter.api.Test;
3232

3333
import org.springframework.core.io.ClassPathResource;
34+
import org.springframework.core.io.FileSystemResource;
3435
import org.springframework.core.io.Resource;
3536
import org.springframework.oxm.AbstractUnmarshallerTests;
3637
import org.springframework.oxm.jaxb.test.FlightType;
@@ -56,7 +57,7 @@ public class Jaxb2UnmarshallerTests extends AbstractUnmarshallerTests<Jaxb2Marsh
5657
protected Jaxb2Marshaller createUnmarshaller() throws Exception {
5758
Jaxb2Marshaller unmarshaller = new Jaxb2Marshaller();
5859
unmarshaller.setContextPath("org.springframework.oxm.jaxb.test");
59-
unmarshaller.setSchema(new ClassPathResource("org/springframework/oxm/flight.xsd"));
60+
unmarshaller.setSchema(new FileSystemResource("src/test/schema/flight.xsd"));
6061
unmarshaller.afterPropertiesSet();
6162
return unmarshaller;
6263
}

spring-oxm/src/test/resources/org/springframework/oxm/flight.xsd

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)