Skip to content

Commit

Permalink
Indentation fixes Co-authored-by: Shruthi.Shruthi1 <Shruthi.Shruthi1@…
Browse files Browse the repository at this point in the history
…ibm.com>

Signed-off-by: Varada M <[email protected]>
  • Loading branch information
varada1110 committed Sep 19, 2024
1 parent 497c0ce commit 0f20b8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1903,8 +1903,8 @@ private void implCloseBlockingMode() throws IOException {
}
if (NativeThread.isNativeThread(reader)
|| NativeThread.isNativeThread(writer)) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
if (NativeThread.isNativeThread(reader))
NativeThread.signal(reader);
if (NativeThread.isNativeThread(writer))
Expand All @@ -1917,7 +1917,7 @@ private void implCloseBlockingMode() throws IOException {
NativeThread.signal(reader);
if (NativeThread.isNativeThread(writer))
NativeThread.signal(writer);
}
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -908,8 +908,8 @@ protected void close() throws IOException {
}
if (NativeThread.isNativeThread(reader)
|| NativeThread.isNativeThread(writer)) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
if (NativeThread.isNativeThread(reader))
NativeThread.signal(reader);
if (NativeThread.isNativeThread(writer))
Expand Down
4 changes: 2 additions & 2 deletions src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,8 @@ private void implCloseBlockingMode() throws IOException {
}
if (NativeThread.isNativeThread(reader)
|| NativeThread.isNativeThread(writer)) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
if (NativeThread.isNativeThread(reader))
NativeThread.signal(reader);
if (NativeThread.isNativeThread(writer))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void implCloseBlockingMode() throws IOException {
if (NativeThread.isVirtualThread(th)) {
Poller.stopPoll(fdVal);
} else {
boolean isAix = System.getProperty("os.name").startsWith("AIX");
boolean isAix = System.getProperty("os.name").startsWith("AIX");
if (isAix) {
NativeThread.signal(th);
nd.preClose(fd);
Expand Down

0 comments on commit 0f20b8e

Please sign in to comment.