From 730aef5da47ba3c4aa447fb21a2ab49bd9516624 Mon Sep 17 00:00:00 2001 From: Barzilai Spinak Date: Thu, 2 Mar 2023 18:10:08 -0300 Subject: [PATCH] make CMF SYSTEM_ERROR_DB and SYSTEM_ERROR_TXN response inhibitors --- jpos/src/main/java/org/jpos/rc/CMF.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/jpos/src/main/java/org/jpos/rc/CMF.java b/jpos/src/main/java/org/jpos/rc/CMF.java index db00c341e9..130b8de7d0 100644 --- a/jpos/src/main/java/org/jpos/rc/CMF.java +++ b/jpos/src/main/java/org/jpos/rc/CMF.java @@ -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), @@ -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 lookupInt = new HashMap<>(); - private static Map lookupStr = new HashMap<>(); + private static final Map lookupInt = new HashMap<>(); + private static final Map lookupStr = new HashMap<>(); static { // This section executes after all the enum instances have been constructed for (IRC irc : values()) {