This is an automated email from the ASF dual-hosted git repository.
taybou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new d787f9a UNOMI-370: fix device category resolution by using setter
correctly. (#192)
d787f9a is described below
commit d787f9adbda5faa0575cd74c491e0965c263a536
Author: kevan Jahanshahi <[email protected]>
AuthorDate: Fri Sep 11 15:40:10 2020 +0200
UNOMI-370: fix device category resolution by using setter correctly. (#192)
---
.../main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java
b/plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java
index 04b2fd3..6980b3a 100644
---
a/plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java
+++
b/plugins/request/src/main/java/org/apache/unomi/plugins/request/useragent/UserAgent.java
@@ -83,7 +83,7 @@ public class UserAgent {
}
public void setDeviceName(String deviceName) {
- this.deviceCategory = deviceName;
+ this.deviceName = deviceName;
}
public String getUserAgentNameAndVersion() {