Skip to content

Commit

Permalink
Merge pull request #192 from cakofony/resolver_typo
Browse files Browse the repository at this point in the history
Fix class name typo in LastResortClassResolver
  • Loading branch information
RuedigerMoeller authored Jun 30, 2017
2 parents a83b3e1 + 17bf47d commit 9f0d169
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/nustaq/serialization/FSTConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 9f0d169

Please sign in to comment.