We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1bcf35 commit f22dba3Copy full SHA for f22dba3
dlm/src/test/java/org/dcache/nfs/v4/nlm/DistributedLockManagerTest.java
@@ -5,6 +5,7 @@
5
import java.nio.charset.StandardCharsets;
6
import java.util.Arrays;
7
8
+import org.dcache.nfs.util.Opaque;
9
import org.junit.After;
10
import org.junit.Before;
11
import org.junit.Test;
@@ -20,12 +21,12 @@ public class DistributedLockManagerTest {
20
21
private HazelcastInstance hzClient;
22
private LockManager lm1;
23
private LockManager lm2;
- private byte[] file1;
24
+ private Opaque file1;
25
26
@Before
27
public void setUp() throws Exception {
28
- file1 = "file1".getBytes(StandardCharsets.UTF_8);
29
+ file1 = Opaque.forBytes("file1".getBytes(StandardCharsets.UTF_8));
30
31
hzSerrver = Hazelcast.newHazelcastInstance();
32
0 commit comments