From a2148cf3a04fe0166485f1f04da5ee043e7c42a7 Mon Sep 17 00:00:00 2001 From: Adam Gent Date: Tue, 10 Sep 2024 12:25:19 -0400 Subject: [PATCH] Add some todo for output and doc. --- core/src/main/java/io/jstach/rainbowgum/LogOutput.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/io/jstach/rainbowgum/LogOutput.java b/core/src/main/java/io/jstach/rainbowgum/LogOutput.java index ed262314..9bb853c7 100644 --- a/core/src/main/java/io/jstach/rainbowgum/LogOutput.java +++ b/core/src/main/java/io/jstach/rainbowgum/LogOutput.java @@ -72,6 +72,9 @@ public interface LogOutput extends LogLifecycle, Flushable, LogComponent { * @apiNote the provider may throw an {@link UncheckedIOException}. */ private static LogProvider of(URI uri) { + /* + * TODO this should probably be public. + */ return of(LogProviderRef.of(uri)); } @@ -134,6 +137,10 @@ public interface ContentType { /** * Builtin content types. + * + * @apiNote additional "standard" content types maybe added in the future before + * 1.0 thus one should expect the number of enum symbols to change and is not safe + * to pattern match on without a default. */ @CaseChanging public enum StandardContentType implements ContentType {