code complete for yaml transformation

This commit is contained in:
2026-11-13 23:07:29 +05:30
parent c59ee0067a
commit a91f72ffd2
28 changed files with 687 additions and 7155 deletions
@@ -43,17 +43,13 @@ public class MoeImpl extends Moe {
private final static Map<String, MoeCodec> codecs;
static {
if (L.isLoggable(Level.FINE)) {
L.fine("loading MOE codecs");
}
L.fine(() -> "loading MOE codecs");
codecs = new HashMap<>();
ServiceLoader<MoeCodec> codecs = ServiceLoader.load(MoeCodec.class);
for (MoeCodec codec : codecs) {
String format = codec.getFormat();
MoeImpl.codecs.put(format.toLowerCase(), codec);
if (L.isLoggable(Level.FINE)) {
L.fine(String.format("%s -> %s", format, codec.getClass().getName()));
}
L.fine(() -> String.format("%s -> %s", format, codec.getClass().getName()));
}
}