Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
nfs4j
Commits
20e67354
Commit
20e67354
authored
Feb 07, 2020
by
Tigran Mkrtchyan
☕
Browse files
nfs4: don't access constant via instance reference.
Acked-by: Paul Millar Target: master
parent
dfbb6721
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/src/main/java/org/dcache/nfs/v4/BerkeleyDBClientStore.java
View file @
20e67354
/*
* Copyright (c) 20
18
Deutsches Elektronen-Synchroton,
* Copyright (c) 20
20
Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
...
...
@@ -118,7 +118,7 @@ public class BerkeleyDBClientStore implements ClientRecoveryStore {
DatabaseEntry
key
=
new
DatabaseEntry
();
DatabaseEntry
data
=
new
DatabaseEntry
();
while
(
cursor
.
getNext
(
key
,
data
,
null
)
==
OperationStatus
.
KEYEMPTY
.
SUCCESS
)
{
while
(
cursor
.
getNext
(
key
,
data
,
null
)
==
OperationStatus
.
SUCCESS
)
{
clientRecoveryDatabase
.
putNoOverwrite
(
tx
,
key
,
data
);
cursor
.
delete
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment