gearman-java icon indicating copy to clipboard operation
gearman-java copied to clipboard

PacketType of CantDo class is wrong

Open hados99 opened this issue 10 years ago • 1 comments

When create CantDo class instance with string parameter, PacketType is setted to CAN_DO not CANT_DO.

https://github.com/johnewart/gearman-java/blob/master/gearman-common/src/main/java/net/johnewart/gearman/common/packets/request/CantDo.java

public CantDo(String function) { this.type = PacketType.CAN_DO; this.functionName = new AtomicReference<>(function); }

hados99 avatar Sep 11 '15 05:09 hados99

https://github.com/johnewart/gearman-java/pull/10

cordje avatar Dec 07 '15 23:12 cordje