Make Metadata.Entry sealed

Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
TheMode 2022-04-24 05:09:39 +02:00
parent 4b7f8213aa
commit 0f2be00291

View File

@ -210,7 +210,8 @@ public final class Metadata {
return metadataMap;
}
public interface Entry<T> extends Writeable {
public sealed interface Entry<T> extends Writeable
permits MetadataImpl.EntryImpl {
int type();
@UnknownNullability T value();