Skip to content

Commit 291f9a4

Browse files
committed
Remove unused MapSupplier
1 parent 51869df commit 291f9a4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010

1111
import javax.persistence.EntityManager;
1212
import java.io.Serializable;
13-
import java.util.HashMap;
1413
import java.util.HashSet;
15-
import java.util.Map;
1614
import java.util.Optional;
1715
import java.util.Set;
1816
import java.util.function.Supplier;
@@ -255,9 +253,3 @@ public Set<String> get() {
255253
return new HashSet<>();
256254
}
257255
}
258-
259-
class EmptyMapSupplier implements Supplier<Map<String, String>> {
260-
public Map<String, String> get() {
261-
return new HashMap<>();
262-
}
263-
}

0 commit comments

Comments
 (0)