Skip to content

Commit 0929ef6

Browse files
committed
Remove deprecated methods
This commit removes method that were deprecated quite some time ago as part of the 2.0 line: - `FaultAwareWebServiceConnection#setFault(boolean)` - Commons HttpClient v3 - EhCache v2 Closes gh-1321
1 parent 2b22c5a commit 0929ef6

File tree

11 files changed

+0
-713
lines changed

11 files changed

+0
-713
lines changed

spring-ws-core/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ dependencies {
1717
api("org.springframework:spring-web")
1818
api("org.springframework:spring-webmvc")
1919

20-
optional("commons-httpclient:commons-httpclient") {
21-
exclude(group: "commons-logging", module: "commons-logging")
22-
}
2320
optional("jakarta.mail:jakarta.mail-api")
2421
optional("jakarta.servlet:jakarta.servlet-api")
2522
optional("org.apache.httpcomponents:httpclient") {

spring-ws-core/src/main/java/org/springframework/ws/transport/FaultAwareWebServiceConnection.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@ public interface FaultAwareWebServiceConnection extends WebServiceConnection {
4242
*/
4343
boolean hasFault() throws IOException;
4444

45-
/**
46-
* Sets whether this connection will send a fault.
47-
* <p>
48-
* Typically implemented by setting an HTTP status code.
49-
* @param fault {@code true} if this will send a fault; {@code false} otherwise.
50-
* @throws IOException in case of I/O errors
51-
* @deprecated In favor of {@link #setFaultCode(QName)}
52-
*/
53-
@Deprecated
54-
void setFault(boolean fault) throws IOException;
55-
5645
/**
5746
* Sets a specific fault code.
5847
* <p>

spring-ws-core/src/main/java/org/springframework/ws/transport/http/AbstractHttpSenderConnection.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ private boolean isSoap12Response() throws IOException {
167167
return false;
168168
}
169169

170-
@Override
171-
@Deprecated
172-
public final void setFault(boolean fault) {
173-
}
174-
175170
@Override
176171
public final void setFaultCode(QName faultCode) throws IOException {
177172
}

spring-ws-core/src/main/java/org/springframework/ws/transport/http/CommonsHttpConnection.java

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

0 commit comments

Comments
 (0)