Skip to content

Commit

Permalink
Merge pull request #160 from orchitech/upgrade-deps
Browse files Browse the repository at this point in the history
Upgrade json and groovy dependencies.
  • Loading branch information
pavelhoral authored Sep 25, 2023
2 parents 6cb16c3 + 01ed832 commit f74965e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
</repositories>

<properties>
<pgpVerifyKeysVersion>1.7.8</pgpVerifyKeysVersion>
<pgpVerifyKeysVersion>1.7.9</pgpVerifyKeysVersion>
<wrenBuildToolsVersion>1.2.0</wrenBuildToolsVersion>

<!-- Source code has to be Java 8 compliant (code base is not JPMS ready) -->
Expand Down Expand Up @@ -205,7 +205,7 @@
<jetty.jspc.version>9.4.0.M0</jetty.jspc.version>

<!-- Scripting Support Dependencies -->
<groovy.version>2.4.6</groovy.version>
<groovy.version>2.4.21</groovy.version>
<groovy-sandbox.version>1.6</groovy-sandbox.version>
<rhino.version>1.7.14</rhino.version>

Expand All @@ -214,7 +214,7 @@
<amazon.sns.version>1.10.72</amazon.sns.version>
<asciidoctorj.version>2.5.10</asciidoctorj.version>
<geoip.version>2.0.0</geoip.version>
<json.version>20090211</json.version>
<json.version>20230618</json.version>
<mail.version>1.5.1</mail.version>

<!-- Deprecated Dependencies (TBD) -->
Expand Down Expand Up @@ -899,7 +899,6 @@
<version>0.9.1</version>
</dependency>

<!-- TODO upgrade version -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand Down

0 comments on commit f74965e

Please sign in to comment.