Skip to content

Commit 15c42c0

Browse files
committed
Remove @OverRide annotations
- method not present before 1.8
1 parent f8b5ae1 commit 15c42c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tls/src/main/java/org/bouncycastle/jsse/provider/ProvSSLSocketFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public Socket createSocket(String host, int port, InetAddress localHost, int loc
5252
return SSLSocketUtil.create(contextData, host, port, localHost, localPort);
5353
}
5454

55-
@Override
55+
// No @Override for 1.8 method
5656
public Socket createSocket(Socket s, InputStream consumed, boolean autoClose) throws IOException
5757
{
5858
return SSLSocketUtil.create(contextData, s, consumed, autoClose);

tls/src/main/java/org/bouncycastle/jsse/util/CustomSSLSocketFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Socket createSocket(String host, int port, InetAddress localHost, int loc
5454
return configureSocket(delegate.createSocket(host, port, localHost, localPort));
5555
}
5656

57-
@Override
57+
// No @Override for 1.8 method
5858
public Socket createSocket(Socket s, InputStream consumed, boolean autoClose) throws IOException
5959
{
6060
return configureSocket(delegate.createSocket(s, consumed, autoClose));

0 commit comments

Comments
 (0)