Skip to content

Commit accf0ea

Browse files
committed
Remove double and triple blank lines
1 parent c17c57b commit accf0ea

File tree

11 files changed

+1
-17
lines changed

11 files changed

+1
-17
lines changed

affinity-test/src/test/java/net/openhft/affinity/osgi/OSGiBundleTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
package net.openhft.affinity.osgi;
1919

20-
import org.junit.Ignore;
2120
import org.junit.Test;
2221
import org.junit.runner.RunWith;
2322
import org.ops4j.pax.exam.Configuration;
@@ -26,13 +25,11 @@
2625
import org.osgi.framework.Bundle;
2726
import org.osgi.framework.BundleContext;
2827

29-
import java.util.Dictionary;
3028
import javax.inject.Inject;
3129

3230
import static org.junit.Assert.*;
3331
import static org.ops4j.pax.exam.CoreOptions.*;
3432

35-
3633
//@Ignore
3734
@RunWith(PaxExam.class)
3835
public class OSGiBundleTest extends net.openhft.affinity.osgi.OSGiTestBase {

affinity/src/main/java/java/lang/ThreadLifecycleListener.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
package java.lang;
2020

21-
2221
/**
2322
* A listener for various events in a Thread's life: creation, termination, etc.
2423
*/

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public static class utsname extends Structure {
3030
"domainname"
3131
);
3232

33-
3433
/** Name of the implementation of the operating system. */
3534
public byte[] sysname = new byte[_UTSNAME_LENGTH];
3635

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
package net.openhft.affinity.impl;
22

3-
import com.sun.jna.*;
3+
import com.sun.jna.Platform;
44
import net.openhft.affinity.IAffinity;
55
import org.slf4j.Logger;
66
import org.slf4j.LoggerFactory;
77

8-
98
public enum LinuxJNAAffinity implements IAffinity {
109
INSTANCE;
1110
private static final Logger LOGGER = LoggerFactory.getLogger(LinuxJNAAffinity.class);

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
package net.openhft.affinity.impl;
2020

21-
2221
import net.openhft.affinity.IAffinity;
2322
import org.slf4j.Logger;
2423
import org.slf4j.LoggerFactory;
@@ -58,5 +57,4 @@ public int getThreadId() {
5857
throw new UnsupportedOperationException();
5958
}
6059

61-
6260
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
package net.openhft.affinity.impl;
2020

21-
2221
import com.sun.jna.LastErrorException;
2322
import com.sun.jna.Library;
2423
import com.sun.jna.Native;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ private static boolean is64Bit0() {
177177
return systemProp != null && systemProp.contains("_64");
178178
}
179179

180-
181180
/**
182181
* @author BegemoT
183182
*/

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public int getTid() {
8787
}
8888
}
8989

90-
9190
@Override
9291
public int getCpu() {
9392
return -1;
@@ -106,7 +105,6 @@ public int getThreadId() {
106105
return tid;
107106
}
108107

109-
110108
/**
111109
* @author BegemoT
112110
*/

affinity/src/test/java/net/openhft/affinity/impl/AbstractAffinityImplTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import static org.junit.Assert.assertEquals;
2626
import static org.junit.Assert.assertTrue;
2727

28-
2928
/**
3029
* @author cheremin
3130
* @since 29.12.11, 20:25
@@ -36,7 +35,6 @@ public abstract class AbstractAffinityImplTest {
3635

3736
public abstract IAffinity getImpl();
3837

39-
4038
@Test
4139
public void getAffinityCompletesGracefully() throws Exception {
4240
getImpl().getAffinity();

affinity/src/test/java/net/openhft/affinity/impl/VanillaCpuLayoutTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public void testFromCpuInfoI7() throws IOException {
4444
"7: CpuInfo{socketId=0, coreId=3, threadId=1}\n", vcl.toString());
4545
}
4646

47-
4847
@Test
4948
public void testFromCpuInfoOthers() throws IOException {
5049
{

0 commit comments

Comments
 (0)