Skip to content

Commit a7cc8b4

Browse files
committed
nfs4: fix telescopic constructor call of NFSv4StateHandler
use provides ClientCache in telescopic constructor call of NFSv4StateHandler Acked-by: Lea Morschel Target: master
1 parent 991a18d commit a7cc8b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/dcache/nfs/v4/NFSv4StateHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009 - 2022 Deutsches Elektronen-Synchroton,
2+
* Copyright (c) 2009 - 2023 Deutsches Elektronen-Synchroton,
33
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
44
*
55
* This library is free software; you can redistribute it and/or modify
@@ -126,7 +126,7 @@ public NFSv4StateHandler(Duration leaseTime, int instanceId, ClientRecoveryStore
126126
}
127127

128128
public NFSv4StateHandler(Duration leaseTime, int instanceId, ClientRecoveryStore clientStore, ClientCache clientsByServerId) {
129-
this(leaseTime, instanceId, clientStore, new DefaultClientCache(leaseTime, new DeadClientCollector(clientStore)), Clock.systemDefaultZone());
129+
this(leaseTime, instanceId, clientStore, clientsByServerId, Clock.systemDefaultZone());
130130
}
131131

132132
@VisibleForTesting

0 commit comments

Comments
 (0)