Skip to content

Commit 91f9874

Browse files
committed
Fix a bug in NullAffinity.
1 parent fe7a535 commit 91f9874

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

affinity/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
~ along with this program. If not, see <http://www.gnu.org/licenses />.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1920

2021
<parent>
2122
<groupId>net.openhft</groupId>
@@ -26,7 +27,7 @@
2627

2728
<modelVersion>4.0.0</modelVersion>
2829
<artifactId>affinity</artifactId>
29-
<version>3.1-SNAPSHOT</version>
30+
<version>3.0.1-SNAPSHOT</version>
3031
<packaging>bundle</packaging>
3132

3233
<name>OpenHFT/Java-Thread-Affinity/affinity</name>
@@ -43,7 +44,7 @@
4344
<groupId>net.openhft</groupId>
4445
<artifactId>third-party-bom</artifactId>
4546
<type>pom</type>
46-
<version>3.4.20</version>
47+
<version>3.4.23</version>
4748
<scope>import</scope>
4849
</dependency>
4950
</dependencies>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public enum NullAffinity implements IAffinity {
3232

3333
@Override
3434
public BitSet getAffinity() {
35-
return null;
35+
return new BitSet();
3636
}
3737

3838
@Override

0 commit comments

Comments
 (0)