Skip to content

Commit

Permalink
Merge pull request EsotericSoftware#506 from maseev/master
Browse files Browse the repository at this point in the history
Fixed a typo in the README file
  • Loading branch information
magro authored Apr 9, 2017
2 parents c3ed14c + 7bb11d4 commit 133e828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ Note that classes must be designed to be created in this way. If a class expects
In many situations, you may want to have a strategy, where Kryo first tries to find and use a no-arg constructor and if it fails to do so, it should try to use `StdInstantiatorStrategy` as a fallback, because this one does not invoke any constructor at all. The configuration for this behavior could be expressed like this:

```java
kryo.setInstantiatorStrategy(new Kyro.DefaultInstantiatorStrategy(new StdInstantiatorStrategy()));
kryo.setInstantiatorStrategy(new Kryo.DefaultInstantiatorStrategy(new StdInstantiatorStrategy()));
```

However, the default behavior is to require a no-arg constructor.
Expand Down

0 comments on commit 133e828

Please sign in to comment.