From 2db5ad2f3d3c5f9a698d26f8d0ea7c0c8fba93dd Mon Sep 17 00:00:00 2001 From: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:46:07 -0400 Subject: [PATCH] Stop trimming leading whitespace chars from data --- .../github/ibm/mapepire/requests/BlockRetrievableRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/ibm/mapepire/requests/BlockRetrievableRequest.java b/src/main/java/com/github/ibm/mapepire/requests/BlockRetrievableRequest.java index 00eed3c..f866337 100644 --- a/src/main/java/com/github/ibm/mapepire/requests/BlockRetrievableRequest.java +++ b/src/main/java/com/github/ibm/mapepire/requests/BlockRetrievableRequest.java @@ -131,7 +131,7 @@ protected static DataBlockFetchResult getNextDataBlock(final ResultSet _rs, fina if (null == cellData) { cellDataForResponse = null; } else if (cellData instanceof CharSequence) { - cellDataForResponse = cellData.toString().trim(); + cellDataForResponse = cellData.toString().replaceAll("\\s+$",""); } else if (cellData instanceof Number || cellData instanceof Boolean) { cellDataForResponse = cellData; } else {