Skip to content

Commit b53872b

Browse files
authored
Update DomainSocket.java
1 parent 28e32b0 commit b53872b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-java-transport/src/main/java/com/github/dockerjava/transport/DomainSocket.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ public void close() throws IOException {
130130
* @param path the path to the domain socket
131131
* @return a {@link DomainSocket} instance
132132
* @throws IOException if the socket cannot be opened
133+
* @deprecated use {@link UnixSocket#get(String)}
133134
*/
135+
@Deprecated
134136
public static DomainSocket get(String path) throws IOException {
135137
if (Platform.isMac() || isBsdPlatform()) {
136138
return new BsdDomainSocket(path);

0 commit comments

Comments
 (0)