-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from j.u.l to the platform API (fixes #456)
- Loading branch information
Showing
8 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
import static java.util.Objects.requireNonNull; | ||
|
||
import java.io.Serializable; | ||
import java.lang.System.Logger; | ||
import java.lang.System.Logger.Level; | ||
import java.util.AbstractCollection; | ||
import java.util.AbstractMap; | ||
import java.util.AbstractSet; | ||
|
@@ -39,8 +41,6 @@ | |
import java.util.function.BiConsumer; | ||
import java.util.function.BiFunction; | ||
import java.util.function.Function; | ||
import java.util.logging.Level; | ||
import java.util.logging.Logger; | ||
|
||
import org.checkerframework.checker.nullness.qual.NonNull; | ||
import org.checkerframework.checker.nullness.qual.Nullable; | ||
|
@@ -55,7 +55,7 @@ | |
* @author [email protected] (Ben Manes) | ||
*/ | ||
interface LocalAsyncCache<K, V> extends AsyncCache<K, V> { | ||
Logger logger = Logger.getLogger(LocalAsyncCache.class.getName()); | ||
Logger logger = System.getLogger(LocalAsyncCache.class.getName()); | ||
|
||
/** Returns the backing {@link LocalCache} data store. */ | ||
LocalCache<K, CompletableFuture<V>> cache(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ | |
|
||
import static java.util.Objects.requireNonNull; | ||
|
||
import java.lang.System.Logger; | ||
import java.lang.System.Logger.Level; | ||
import java.lang.reflect.Method; | ||
import java.util.Collections; | ||
import java.util.LinkedHashMap; | ||
|
@@ -26,8 +28,6 @@ | |
import java.util.concurrent.CompletableFuture; | ||
import java.util.concurrent.CompletionException; | ||
import java.util.function.Function; | ||
import java.util.logging.Level; | ||
import java.util.logging.Logger; | ||
|
||
import org.checkerframework.checker.nullness.qual.Nullable; | ||
|
||
|
@@ -38,7 +38,7 @@ | |
* @author [email protected] (Ben Manes) | ||
*/ | ||
interface LocalLoadingCache<K, V> extends LocalManualCache<K, V>, LoadingCache<K, V> { | ||
Logger logger = Logger.getLogger(LocalLoadingCache.class.getName()); | ||
Logger logger = System.getLogger(LocalLoadingCache.class.getName()); | ||
|
||
/** Returns the {@link CacheLoader} used by this cache. */ | ||
CacheLoader<? super K, V> cacheLoader(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters