You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2020/09/11 10:57:50 UTC
[unomi] 01/01: UNOMI-370: fix device category resolution by using
setter correctly.
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch fix-device-category-resolution
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 1e9de1acf897d5d902aba96d422fa0ca8fdaf972
Author: Kevan <ke...@jahia.com>
AuthorDate: Fri Sep 11 12:57:38 2020 +0200
UNOMI-370: fix device category resolution by using setter correctly.
---
.../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() {