Skip to content

Commit cbdf62f

Browse files
authored
fix bug (#42)
1 parent 5b95950 commit cbdf62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/no/nav/fpsak/tidsserie/LocalDateInterval.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public NavigableSet<LocalDateInterval> except(LocalDateInterval annen) {
155155
return new TreeSet<>(Collections.singletonList(this));
156156
}
157157

158-
var resultat = new TreeSet<>();
158+
NavigableSet<LocalDateInterval> resultat = new TreeSet<>();
159159
if (getFomDato().isBefore(annen.getFomDato())) {
160160
resultat.add(new LocalDateInterval(getFomDato(), min(getTomDato(), annen.getFomDato().minusDays(1))));
161161
}

0 commit comments

Comments
 (0)