diff --git a/openam-shared/src/main/java/com/sun/identity/shared/JSONUtils.java b/openam-shared/src/main/java/com/sun/identity/shared/JSONUtils.java index fbc873d179..b857aac7d7 100644 --- a/openam-shared/src/main/java/com/sun/identity/shared/JSONUtils.java +++ b/openam-shared/src/main/java/com/sun/identity/shared/JSONUtils.java @@ -23,6 +23,7 @@ * "Portions Copyrighted [year] [name of copyright owner]" * * $Id: JSONUtils.java,v 1.1 2009/09/21 18:33:44 dillidorai Exp $ + * Portions Copyrighted 2023 Wren Security */ package com.sun.identity.shared; @@ -113,11 +114,6 @@ public static long getLong( return 0; } - String str = json.getString(key); - try { - return Long.parseLong(str); - } catch (NumberFormatException e) { - return 0; - } + return json.getLong(key); } } diff --git a/pom.xml b/pom.xml index d5ba7a5bb2..b2ce51a46d 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ - 1.7.8 + 1.7.9 1.2.0 @@ -205,7 +205,7 @@ 9.4.0.M0 - 2.4.6 + 2.4.21 1.6 1.7.14 @@ -214,7 +214,7 @@ 1.10.72 2.5.10 2.0.0 - 20090211 + 20230618 1.5.1 @@ -899,7 +899,6 @@ 0.9.1 - org.json json