fix missing json property names

This commit is contained in:
Xavier Léauté 2013-08-21 17:38:30 -07:00
parent 138860696a
commit 71b19af61f
1 changed files with 4 additions and 4 deletions

View File

@ -103,10 +103,10 @@ public class IrcFirehoseFactory implements FirehoseFactory
@JsonCreator
public IrcFirehoseFactory(
@JsonProperty String nick,
@JsonProperty String host,
@JsonProperty List<String> channels,
@JsonProperty IrcDecoder decoder
@JsonProperty("name") String nick,
@JsonProperty("host") String host,
@JsonProperty("channels") List<String> channels,
@JsonProperty("decoder") IrcDecoder decoder
)
{
this.nick = nick;