Skip to content

Correct typo in method name #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions serializer/src/main/java/org/eclipse/serializer/Serializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ public interface Serializer<M> 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<byte[]> Bytes()
{
Expand Down Expand Up @@ -239,7 +248,7 @@ public synchronized void close()
}

@Override
public String exportTypeDictionay()
public String exportTypeDictionary()
{
return this.foundation.getTypeDictionaryAssembler()
.assemble(this.persistenceManager.typeDictionary());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public synchronized void close()
}

@Override
public String exportTypeDictionay()
public String exportTypeDictionary()
{
return this.foundation.getTypeDictionaryAssembler()
.assemble(this.persistenceManager.typeDictionary());
Expand Down
Loading