Skip to content

Commit fd16598

Browse files
committed
Added missing constant Scale.JPOS_ESCAL_UNDERWEIGHT.
Solves GH issue #24. Prepared next maintenance release.
1 parent 8fe15b1 commit fd16598

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log for javapos-contracts
22

3+
## 1.15.5 Maintenance Release
4+
5+
- added constant `ScaleConst.JPOS_ESCAL_UNDERWEIGHT` to be UnifiedPOS 1.14 compliant; solves GH issue #24
6+
37
## 1.15.4 Maintenance Release
48

59
- added *POSPrinter* constant `BCS_GS1DATAMATRIX` missing from UnifiedPOS 1.15.1 (contribution by @mjpcger)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def artifactName = 'javapos-contracts'
2727
group='org.javapos'
2828
def uposVersion = '1.15' // if this version is going to be changed, first add "-SNAPSHOT"
2929
// to the 'version' variable below for publishing to MavenCentral's Snapshot repo first as test
30-
version="${uposVersion}.4" // the last part after dot is the build/release version
30+
version="${uposVersion}.5" // the last part after dot is the build/release version
3131

3232
///////////////////////////////////////////////////////////////////////////////
3333
// Project Configurations

src/main/java/jpos/ScaleConst.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ public interface ScaleConst
147147
// "ResultCodeExtended" Property Constants for Scale
148148
/////////////////////////////////////////////////////////////////////
149149

150-
public static final int JPOS_ESCAL_OVERWEIGHT = 1 + JposConst.JPOSERREXT; // ReadWeight
151-
public static final int JPOS_ESCAL_UNDER_ZERO = 2 + JposConst.JPOSERREXT; // ReadWeight
152-
public static final int JPOS_ESCAL_SAME_WEIGHT = 3 + JposConst.JPOSERREXT; // ReadWeight
150+
public static final int JPOS_ESCAL_OVERWEIGHT = 1 + JposConst.JPOSERREXT;
151+
public static final int JPOS_ESCAL_UNDER_ZERO = 2 + JposConst.JPOSERREXT;
152+
public static final int JPOS_ESCAL_SAME_WEIGHT = 3 + JposConst.JPOSERREXT;
153+
public static final int JPOS_ESCAL_UNDERWEIGHT = 4 + JposConst.JPOSERREXT;
153154
}

0 commit comments

Comments
 (0)