Skip to content

Commit

Permalink
Updated ua_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Oct 29, 2024
1 parent b74a487 commit e7cc80f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions driver-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ dependencies {

// <BrowserInformation>
//implementation 'nl.basjes.parse.useragent:yauaa:4.5'
// 1.5.3
implementation group: 'com.github.ua-parser', name: 'uap-java', version: '1.4.3'
implementation 'com.github.ua-parser:uap-java:1.6.1'
// </BrowserInformation>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
package eu.tsystems.mms.tic.testframework.useragents;

import eu.tsystems.mms.tic.testframework.logging.Loggable;
import java.io.IOException;
import ua_parser.Client;
import ua_parser.Parser;

/**
* Uap User Agent implementation
*
* @author Mike Reiche
*/
public class UapBrowserInformation implements BrowserInformation, Loggable {
Expand All @@ -37,11 +37,7 @@ public class UapBrowserInformation implements BrowserInformation, Loggable {
private String userAgent;

public UapBrowserInformation() {
try {
userAgentAnalyzer = new Parser();
} catch (IOException e) {
log().error(e.getMessage(), e);
}
userAgentAnalyzer = new Parser();
}

/**
Expand Down

0 comments on commit e7cc80f

Please sign in to comment.