Skip to content

Commit 078e5c9

Browse files
committed
Remove blank lines before }
1 parent accf0ea commit 078e5c9

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

affinity/src/main/java/net/openhft/affinity/impl/LinuxHelper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public String getRealeaseVersion() {
8686
break;
8787
}
8888
return release.substring(0, len);
89-
9089
}
9190

9291
public String getVersion() {
@@ -171,7 +170,6 @@ public static void __CPU_CLR(int cpu, cpu_set_t cpuset ) {
171170
public static boolean __CPU_ISSET(int cpu, cpu_set_t cpuset ) {
172171
return (cpuset.__bits[__CPUELT(cpu)].longValue() & __CPUMASK(cpu)) != 0;
173172
}
174-
175173
}
176174

177175
interface CLibrary extends Library {
@@ -266,7 +264,6 @@ public static int sched_getcpu() {
266264
}
267265
}
268266
}
269-
270267
}
271268

272269
public static int getpid() {

affinity/src/main/java/net/openhft/affinity/impl/OSXJNAAffinity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,5 @@ interface CLibrary extends Library {
7575
Native.loadLibrary("libpthread.dylib", CLibrary.class);
7676

7777
int pthread_self() throws LastErrorException;
78-
7978
}
8079
}

affinity/src/main/java/net/openhft/affinity/impl/VanillaCpuLayout.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public class VanillaCpuLayout implements CpuLayout {
6363
}
6464
throw new AssertionError(error);
6565
}
66-
6766
}
6867

6968
@NotNull

affinity/src/main/java/net/openhft/affinity/impl/WindowsJNAAffinity.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public long getAffinity() {
5555
throw new IllegalStateException("GetProcessAffinityMask(( -1 ), &(" + cpuset1 + "), &(" + cpuset2 + ") ) return " + ret);
5656

5757
return cpuset1.getValue();
58-
5958
} catch (Exception e) {
6059
e.printStackTrace();
6160
}
@@ -70,7 +69,6 @@ public void setAffinity(final long affinity) {
7069
int pid = getTid();
7170
try {
7271
lib.SetThreadAffinityMask(pid, aff);
73-
7472
} catch (LastErrorException e) {
7573
throw new IllegalStateException("SetThreadAffinityMask((" + pid + ") , &(" + affinity + ") ) errorNo=" + e.getErrorCode(), e);
7674
}
@@ -81,7 +79,6 @@ public int getTid() {
8179

8280
try {
8381
return lib.GetCurrentThread();
84-
8582
} catch (LastErrorException e) {
8683
throw new IllegalStateException("GetCurrentThread( ) errorNo=" + e.getErrorCode(), e);
8784
}

0 commit comments

Comments
 (0)