Fixed a bug in the getParameter where the owner variable was never being set if a certain constructor is called

This commit is contained in:
Joshua Kissoon 2014-06-03 11:23:06 +05:30
parent 8501740bc5
commit 0bcbab0f03

View File

@ -40,8 +40,8 @@ public class GetParameter
*/ */
public GetParameter(KademliaId key, String type, String owner) public GetParameter(KademliaId key, String type, String owner)
{ {
this(key, owner); this(key, type);
this.type = type; this.ownerId = owner;
} }
/** /**