Closed EircYangQM closed 1 year ago
The line 914 in barcode.java.
if ((getLabelPosition().ordinal() & Labels.LabelPositions.TOP.ordinal()) > 0)
Labels.LabelPositions.TOP.ordinal() is 0, So it is always 0. Maybe we just check the enum not enum's value.
Care to create a PR?
I add the PR. please check this.
This was addressed in https://github.com/barnhill/barcode-java/pull/19. Closing.
The line 914 in barcode.java.
if ((getLabelPosition().ordinal() & Labels.LabelPositions.TOP.ordinal()) > 0)
Labels.LabelPositions.TOP.ordinal() is 0, So it is always 0. Maybe we just check the enum not enum's value.