Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit dcc1302

Browse files
feffijknack
authored andcommitted
fixed minor code issues (jooby-project#1166)
(cherry picked from commit 18653cc)
1 parent 6d583aa commit dcc1302

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modules/jooby-spymemcached/src/main/java/org/jooby/internal/memcached/MemcachedClientProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ public class MemcachedClientProvider implements Provider<MemcachedClient> {
217217

218218
private ConnectionFactoryBuilder builder;
219219

220-
private List<InetSocketAddress> servers;
220+
private final List<InetSocketAddress> servers;
221221

222222
private MemcachedClient client;
223223

224-
private long shutdownTimeout;
224+
private final long shutdownTimeout;
225225

226226
public MemcachedClientProvider(final ConnectionFactoryBuilder builder,
227227
final List<InetSocketAddress> servers, final long shutdownTimeout) {

modules/jooby-spymemcached/src/main/java/org/jooby/memcached/SpySessionStore.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,11 @@
280280
*/
281281
public class SpySessionStore implements Session.Store {
282282

283-
private MemcachedClient memcached;
283+
private final MemcachedClient memcached;
284284

285-
private String prefix;
285+
private final String prefix;
286286

287-
private int timeout;
287+
private final int timeout;
288288

289289
public SpySessionStore(final MemcachedClient memcached,
290290
final String prefix, final int timeoutInSeconds) {

0 commit comments

Comments
 (0)