GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

io.mcarle.sciurus.cache.SimpleCacheSupplier.get()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 3
ccs 1
cts 1
cp 1
crap 1
rs 10
1
package io.mcarle.sciurus.cache;
2
3
public class SimpleCacheSupplier implements CacheSupplier {
4
5
    private final CustomCache cache;
6
7 1
    public SimpleCacheSupplier(final CustomCache cache) {
8 1
        this.cache = cache;
9 1
    }
10
11
    @Override
12
    public CustomCache get() {
13 1
        return cache;
14
    }
15
16
    @Override
17
    public void preRegister() {
18 1
        cache.preRegister();
19 1
    }
20
21
    @Override
22
    public void postDeregister() {
23 1
        cache.postDeregister();
24 1
    }
25
}
26