Skip to content

PacketType of CantDo class is wrong #7

@hados99

Description

@hados99

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions