Skip to content

Commit e261a65

Browse files
committed
Upgraded jdom to 2.0.1
1 parent 2ec6bbb commit e261a65

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

core/src/main/java/org/springframework/ws/config/AnnotationDrivenBeanDefinitionParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2011 the original author or authors.
2+
* Copyright 2005-2012 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.
@@ -60,7 +60,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
6060
ClassUtils.isPresent("javax.xml.bind.Binder", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
6161

6262
private static final boolean jdomPresent =
63-
ClassUtils.isPresent("org.jdom.Element", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
63+
ClassUtils.isPresent("org.jdom2.Element", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
6464

6565
private static final boolean staxPresent = ClassUtils
6666
.isPresent("javax.xml.stream.XMLInputFactory", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());

core/src/main/java/org/springframework/ws/server/endpoint/AbstractJDomPayloadEndpoint.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2005-2010 the original author or authors.
2+
* Copyright 2005-2012 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,11 +22,11 @@
2222

2323
import org.springframework.xml.transform.TransformerObjectSupport;
2424

25-
import org.jdom.Document;
26-
import org.jdom.Element;
27-
import org.jdom.input.DOMBuilder;
28-
import org.jdom.transform.JDOMResult;
29-
import org.jdom.transform.JDOMSource;
25+
import org.jdom2.Document;
26+
import org.jdom2.Element;
27+
import org.jdom2.input.DOMBuilder;
28+
import org.jdom2.transform.JDOMResult;
29+
import org.jdom2.transform.JDOMSource;
3030
import org.w3c.dom.Node;
3131

3232
/**

core/src/main/java/org/springframework/ws/server/endpoint/adapter/method/dom/JDomPayloadMethodProcessor.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2005-2010 the original author or authors.
2+
* Copyright 2005-2012 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,11 +22,11 @@
2222
import org.springframework.core.MethodParameter;
2323
import org.springframework.ws.server.endpoint.adapter.method.AbstractPayloadSourceMethodProcessor;
2424

25-
import org.jdom.Document;
26-
import org.jdom.Element;
27-
import org.jdom.input.DOMBuilder;
28-
import org.jdom.transform.JDOMResult;
29-
import org.jdom.transform.JDOMSource;
25+
import org.jdom2.Document;
26+
import org.jdom2.Element;
27+
import org.jdom2.input.DOMBuilder;
28+
import org.jdom2.transform.JDOMResult;
29+
import org.jdom2.transform.JDOMSource;
3030
import org.w3c.dom.Node;
3131

3232
/**

core/src/test/java/org/springframework/ws/server/endpoint/JDomPayloadEndpointTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2005-2010 the original author or authors.
2+
* Copyright 2005-2012 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,8 +16,8 @@
1616

1717
package org.springframework.ws.server.endpoint;
1818

19-
import org.jdom.Element;
20-
import org.jdom.Namespace;
19+
import org.jdom2.Element;
20+
import org.jdom2.Namespace;
2121

2222
import static org.junit.Assert.*;
2323

core/src/test/java/org/springframework/ws/server/endpoint/adapter/method/dom/JDomPayloadMethodProcessorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2005-2010 the original author or authors.
2+
* Copyright 2005-2012 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.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,7 +22,7 @@
2222
import org.springframework.ws.server.endpoint.annotation.RequestPayload;
2323
import org.springframework.ws.server.endpoint.annotation.ResponsePayload;
2424

25-
import org.jdom.Element;
25+
import org.jdom2.Element;
2626

2727
import static org.junit.Assert.assertEquals;
2828
import static org.junit.Assert.assertTrue;

core/template.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Import-Template:
1919
org.apache.commons.httpclient.*;version="[3.1.0, 4.0.0)";resolution:=optional,
2020
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
2121
org.dom4j.*;version="[1.6.1, 2.0.0)";resolution:=optional,
22-
org.jdom.*;version="[1.0.0, 2.0.0)";resolution:=optional,
22+
org.jdom2.*;version="[2.0.0, 3.0.0)";resolution:=optional,
2323
org.springframework.aop.*;version=${spring.framework.osgi.range},
2424
org.springframework.beans.*;version=${spring.framework.osgi.range},
2525
org.springframework.context.*;version=${spring.framework.osgi.range},

parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
<dependency>
367367
<groupId>org.jdom</groupId>
368368
<artifactId>jdom</artifactId>
369-
<version>1.1</version>
369+
<version>2.0.1</version>
370370
</dependency>
371371
<dependency>
372372
<groupId>dom4j</groupId>

0 commit comments

Comments
 (0)