diff --git a/serializer/src/main/java/org/eclipse/serializer/Serializer.java b/serializer/src/main/java/org/eclipse/serializer/Serializer.java index 00d45c2..e2b521b 100644 --- a/serializer/src/main/java/org/eclipse/serializer/Serializer.java +++ b/serializer/src/main/java/org/eclipse/serializer/Serializer.java @@ -81,7 +81,16 @@ public interface Serializer extends AutoCloseable * * @return type dictionary as String. */ - public String exportTypeDictionay(); + public String exportTypeDictionary(); + + /** + * @deprecated typo, replaced by {@link #exportTypeDictionary()}, will be removed in a future release + */ + @Deprecated(forRemoval = true) + public default String exportTypeDictionay() + { + return this.exportTypeDictionary(); + } public static Serializer Bytes() { @@ -239,7 +248,7 @@ public synchronized void close() } @Override - public String exportTypeDictionay() + public String exportTypeDictionary() { return this.foundation.getTypeDictionaryAssembler() .assemble(this.persistenceManager.typeDictionary()); diff --git a/serializer/src/main/java/org/eclipse/serializer/TypedSerializer.java b/serializer/src/main/java/org/eclipse/serializer/TypedSerializer.java index 8ecc221..71c8f62 100644 --- a/serializer/src/main/java/org/eclipse/serializer/TypedSerializer.java +++ b/serializer/src/main/java/org/eclipse/serializer/TypedSerializer.java @@ -352,7 +352,7 @@ public synchronized void close() } @Override - public String exportTypeDictionay() + public String exportTypeDictionary() { return this.foundation.getTypeDictionaryAssembler() .assemble(this.persistenceManager.typeDictionary());