From b9a9fe3a0a6dea6349256576a9300970153703ad Mon Sep 17 00:00:00 2001 From: Philoul Date: Thu, 12 Dec 2019 00:28:08 +0100 Subject: [PATCH] No modif Code tabulation --- .../androidaps/interaction/utils/SafeParse.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/SafeParse.java b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/SafeParse.java index d34f502efa..81ef482194 100644 --- a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/SafeParse.java +++ b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/SafeParse.java @@ -33,13 +33,14 @@ public class SafeParse { } return result; } - public static Float stringToFloat(String input) { - Float result = 0f; - input = input.replace(",", "."); - try { - result = Float.valueOf(input); - } catch (Exception e) { - } - return result; + + public static Float stringToFloat(String input) { + Float result = 0f; + input = input.replace(",", "."); + try { + result = Float.valueOf(input); + } catch (Exception e) { + } + return result; } }