This is an automated email from the ASF dual-hosted git repository.

taybou pushed a commit to branch unomi-1.5.x
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/unomi-1.5.x by this push:
     new 75c3f78  UNOMI-370: fix device category resolution by using setter 
correctly. (#192)
75c3f78 is described below

commit 75c3f78621849e5d4d443bbec4f462414511383f
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)
    
    (cherry picked from commit d787f9adbda5faa0575cd74c491e0965c263a536)
---
 .../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() {

Reply via email to