From 17bf47d28adef31fbc975368524bc1c9169121d8 Mon Sep 17 00:00:00 2001 From: Carter Kozak Date: Fri, 26 May 2017 10:05:02 -0400 Subject: [PATCH] Fix class name typo in LastResortClassResolver Ressolver -> Resolver Note: This is technically an API break. --- .../org/nustaq/serialization/FSTConfiguration.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/nustaq/serialization/FSTConfiguration.java b/src/main/java/org/nustaq/serialization/FSTConfiguration.java index b41199cc..fa8a5422 100644 --- a/src/main/java/org/nustaq/serialization/FSTConfiguration.java +++ b/src/main/java/org/nustaq/serialization/FSTConfiguration.java @@ -62,7 +62,7 @@ static enum ConfType { * if all attempts fail to find a class this guy is asked. * Can be used in case e.g. dynamic classes need get generated. */ - public interface LastResortClassRessolver { + public interface LastResortClassResolver { public Class getClass( String clName ); } @@ -99,7 +99,7 @@ public interface ClassSecurityVerifier { FSTClassInstantiator instantiator = new FSTDefaultClassInstantiator(); Object coderSpecific; - LastResortClassRessolver lastResortResolver; + LastResortClassResolver lastResortResolver; boolean forceClzInit = false; // always execute default fields init, even if no transients @@ -341,7 +341,7 @@ protected JsonGenerator _createUTF8Generator(OutputStream out, IOContext ctxt) t conf.setCoderSpecific(fac); conf.setStreamCoderFactory(new JSonStreamCoderFactory(conf)); conf.setShareReferences(shareReferences); - conf.setLastResortResolver(new LastResortClassRessolver() { + conf.setLastResortResolver(new LastResortClassResolver() { @Override public Class getClass(String clName) { return Unknown.class; @@ -525,11 +525,11 @@ public boolean isForceClzInit() { return forceClzInit; } - public LastResortClassRessolver getLastResortResolver() { + public LastResortClassResolver getLastResortResolver() { return lastResortResolver; } - public void setLastResortResolver(LastResortClassRessolver lastResortResolver) { + public void setLastResortResolver(LastResortClassResolver lastResortResolver) { this.lastResortResolver = lastResortResolver; }