8000 Fixing squid:S1444 - "public static" fields should be constant. · MStart/reactivesocket-java@d467bfe · GitHub
[go: up one dir, main page]

Skip to content

Commit d467bfe

Browse files
author
Faisal Hameed
committed
Fixing squid:S1444 - "public static" fields should be constant.
1 parent 7045212 commit d467bfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/io/reactivesocket/internal/rx/EmptyDisposable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
public class EmptyDisposable implements Disposable
2121
{
22-
public static EmptyDisposable EMPTY = new EmptyDisposable();
22+
public static final EmptyDisposable EMPTY = new EmptyDisposable();
2323

2424
public void dispose()
2525
{

src/test/java/io/reactivesocket/ReactiveSocketTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class ReactiveSocketTest {
5454
private CountDownLatch lastServerErrorCountDown;
5555
private CountDownLatch fireAndForgetOrMetadataPush;
5656

57-
public static @DataPoints int[] setupFlags = {NO_FLAGS, HONOR_LEASE};
57+
public static final @DataPoints int[] setupFlags = {NO_FLAGS, HONOR_LEASE};
5858

5959
@< 3CDE /span>Before
6060
public void setup() {

0 commit comments

Comments
 (0)
0