Update to UA Parser 1.5.2 (#10030)

This commit is contained in:
Stian Thorgersen 2022-02-08 11:28:59 +01:00 committed by GitHub
parent 100dbb8781
commit 2e5cb103ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -114,7 +114,7 @@
<xmlsec.version>2.2.3</xmlsec.version>
<glassfish.json.version>1.1.6</glassfish.json.version>
<wildfly.common.version>1.5.4.Final</wildfly.common.version>
<ua-parser.version>1.4.3</ua-parser.version>
<ua-parser.version>1.5.2</ua-parser.version>
<picketbox.version>5.0.3.Final-redhat-00007</picketbox.version>
<google.guava.version>30.1-jre</google.guava.version>

View file

@ -41,11 +41,7 @@ public class DeviceActivityManager {
private static final Parser UA_PARSER;
static {
try {
UA_PARSER = new Parser();
} catch (IOException cause) {
throw new RuntimeException("Failed to create user agent parser", cause);
}
UA_PARSER = new Parser();
}
/** Returns the device information associated with the given {@code userSession}.