Skip to content

Commit

Permalink
make CMF SYSTEM_ERROR_DB and SYSTEM_ERROR_TXN response inhibitors
Browse files Browse the repository at this point in the history
  • Loading branch information
barspi committed Mar 2, 2023
1 parent 1e323dc commit 730aef5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions jpos/src/main/java/org/jpos/rc/CMF.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public enum CMF implements IRC {
INVALID_CARD(1804),
CARD_NOT_ACTIVE(1806),
CARD_NOT_CONFIGURED(1808),
SYSTEM_ERROR_DB(1811),
SYSTEM_ERROR_TXN(1812),
SYSTEM_ERROR_DB(1811, false, true),
SYSTEM_ERROR_TXN(1812,false, true),
CONFIGURATION_ERROR(1818),
INVALID_FIELD(1830),
MISCONFIGURED_ENDPOINT(1831),
Expand Down Expand Up @@ -212,14 +212,14 @@ public enum CMF implements IRC {
// User specific result codes
USER(90000);

int irc;
String ircStr;
private final int irc;
private final String ircStr;

boolean success;
boolean inhibit;
private final boolean success;
private final boolean inhibit;

private static Map<Integer,IRC> lookupInt = new HashMap<>();
private static Map<String,IRC> lookupStr = new HashMap<>();
private static final Map<Integer,IRC> lookupInt = new HashMap<>();
private static final Map<String,IRC> lookupStr = new HashMap<>();
static {
// This section executes after all the enum instances have been constructed
for (IRC irc : values()) {
Expand Down

0 comments on commit 730aef5

Please sign in to comment.