diff options
author | Vitaly Takmazov | 2016-12-16 17:09:38 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-16 17:09:38 +0300 |
commit | acddd380e1868e28491eaf85f05e87d7a47a123f (patch) | |
tree | eb0d1c75d87ec2a58d31513ccf924ada882d5a1c /juick-server/src/main/java/com/juick/util | |
parent | 955c149737918d0b2f9c83d3f54c2f8b5cb2b098 (diff) |
Anonym -> Anonymous
Diffstat (limited to 'juick-server/src/main/java/com/juick/util')
-rw-r--r-- | juick-server/src/main/java/com/juick/util/UserUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/main/java/com/juick/util/UserUtils.java b/juick-server/src/main/java/com/juick/util/UserUtils.java index 8be415c9..3d78b5b5 100644 --- a/juick-server/src/main/java/com/juick/util/UserUtils.java +++ b/juick-server/src/main/java/com/juick/util/UserUtils.java @@ -1,7 +1,7 @@ package com.juick.util; import com.juick.User; -import com.juick.server.security.entities.AnonymUser; +import com.juick.server.security.entities.AnonymousUser; import com.juick.server.security.entities.JuickUser; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; @@ -44,6 +44,6 @@ public class UserUtils { if (principal instanceof User) return (User) principal; - return AnonymUser.INSTANCE; + return AnonymousUser.INSTANCE; } } |