Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7368f22a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Document the of closing LocalSocket streams." into main am: c7136b0d

parents dd8c007c c7136b0d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -196,7 +196,8 @@ public class LocalSocket implements Closeable {
    }

    /**
     * Retrieves the input stream for this instance.
     * Retrieves the input stream for this instance. Closing this stream is equivalent to closing
     * the entire socket and its associated streams using {@link #close()}.
     *
     * @return input stream
     * @throws IOException if socket has been closed or cannot be created.
@@ -207,7 +208,8 @@ public class LocalSocket implements Closeable {
    }

    /**
     * Retrieves the output stream for this instance.
     * Retrieves the output stream for this instance. Closing this stream is equivalent to closing
     * the entire socket and its associated streams using {@link #close()}.
     *
     * @return output stream
     * @throws IOException if socket has been closed or cannot be created.