From 3436e3069534e76cedd78d96e96661367fc27034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20F=C3=B8lstad?= Date: Tue, 6 Apr 2021 21:49:21 +0200 Subject: [PATCH] Fix cell value type check (#67) --- pom.xml | 2 +- .../com/erikmafo/btviewer/model/BigtableValueConverter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 50cf21d..28fe7e8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.erikmafo bigtableviewer - 0.2.12 + 0.2.13 jar bigtableviewer diff --git a/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java b/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java index 8f44dcd..160d6c9 100644 --- a/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java +++ b/src/main/java/com/erikmafo/btviewer/model/BigtableValueConverter.java @@ -70,7 +70,7 @@ public Object convert(BigtableCell cell) { public boolean isNumberCellDefinition(BigtableCell cell) { var cellDefinition = getCellDefinition(cell); - switch (cellDefinition.getValueType()) { + switch (cellDefinition.getValueType().toUpperCase()) { case ValueTypeConstants.DOUBLE: case ValueTypeConstants.INTEGER: case ValueTypeConstants.FLOAT: