File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
core/src/test/java/org/dcache/nfs/v4/nlm Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import java .nio .charset .StandardCharsets ;
4
4
5
+ import org .dcache .nfs .util .Opaque ;
5
6
import org .dcache .nfs .v4 .StateOwner ;
6
7
import org .dcache .nfs .v4 .xdr .clientid4 ;
7
8
import org .dcache .nfs .v4 .xdr .nfs4_prot ;
16
17
public class SimpleLmTest {
17
18
18
19
private LockManager nlm ;
19
- private byte [] file1 ;
20
- private byte [] file2 ;
20
+ private Opaque file1 ;
21
+ private Opaque file2 ;
21
22
22
23
@ Before
23
24
public void setUp () throws Exception {
24
25
nlm = new SimpleLm ();
25
- file1 = "file1" .getBytes (StandardCharsets .UTF_8 );
26
- file2 = "file2" .getBytes (StandardCharsets .UTF_8 );
26
+ file1 = Opaque . forBytes ( "file1" .getBytes (StandardCharsets .UTF_8 ) );
27
+ file2 = Opaque . forBytes ( "file2" .getBytes (StandardCharsets .UTF_8 ) );
27
28
}
28
29
29
30
@ Test
You can’t perform that action at this time.
0 commit comments