Showing 1 of 8 files from the diff.

@@ -44,7 +44,6 @@
Loading
44 44
import java.util.Map;
45 45
import java.util.Optional;
46 46
47 -
import static java.util.Optional.empty;
48 47
import static java.util.Optional.ofNullable;
49 48
import static org.apache.commons.lang3.StringUtils.substringBefore;
50 49
import static org.osgi.framework.Constants.SERVICE_RANKING;
@@ -100,13 +99,13 @@
Loading
100 99
            throw new IllegalArgumentException("Method argument resource must not be null.");
101 100
        }
102 101
        if (!this.configuration.enabled()) {
103 -
            return empty();
102 +
            return null;
104 103
        }
105 104
106 105
        Map<Key, Optional<?>> cache = this.cacheHolder.get();
107 106
        if (cache == null) {
108 107
            this.logger.debug("No cache found, the cache will not be used.");
109 -
            return empty();
108 +
            return null;
110 109
        }
111 110
112 111
        final Optional<T> lookupResult;
Files Complexity Coverage
api/src/main/java/io/neba/api 88.46% 89.36%
core/src/main/java/io/neba/core 81.08% 85.99%
spring/src/main/java/io/neba/spring 81.25% 86.26%
Project Totals (91 files) 81.25% 86.09%
903.1
TRAVIS_OS_NAME=linux
openjdk8=
902.1
TRAVIS_OS_NAME=linux
openjdk8=
911.1
TRAVIS_OS_NAME=linux
openjdk8=
906.1
TRAVIS_OS_NAME=linux
openjdk8=

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading