diff options
author | Vitaly Takmazov | 2020-03-07 13:20:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-03-07 13:20:45 +0300 |
commit | c9d67837cbcaae84a03b7bd14e508ca62880f87f (patch) | |
tree | 0f66e38f5b6aa48c66fae7d10c0b8b5ad6f7e7e2 /src/main/java/com/juick/server/api/Users.java | |
parent | ad50d1090b303d3a71c354dd2922a982fda6a289 (diff) |
Reorganize project layout
Diffstat (limited to 'src/main/java/com/juick/server/api/Users.java')
-rw-r--r-- | src/main/java/com/juick/server/api/Users.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/server/api/Users.java b/src/main/java/com/juick/server/api/Users.java index c909fb38..e53c5424 100644 --- a/src/main/java/com/juick/server/api/Users.java +++ b/src/main/java/com/juick/server/api/Users.java @@ -17,7 +17,7 @@ package com.juick.server.api; -import com.juick.User; +import com.juick.model.User; import com.juick.model.AnonymousUser; import com.juick.model.ApplicationStatus; import com.juick.server.EmailManager; @@ -79,7 +79,7 @@ public class Users { public List<User> doGetUsers( @Visitor User visitor, @RequestParam(value = "uname", required = false) List<String> unames) { - List<com.juick.User> users = new ArrayList<>(); + List<User> users = new ArrayList<>(); if (unames != null) { unames.removeIf(WebUtils::isNotUserName); @@ -192,7 +192,7 @@ public class Users { uid = visitor.getUid(); } else { if (WebUtils.isUserName(uname)) { - com.juick.User u = userService.getUserByName(uname); + User u = userService.getUserByName(uname); if (!u.isAnonymous()) { uid = u.getUid(); } @@ -216,7 +216,7 @@ public class Users { uid = visitor.getUid(); } else { if (WebUtils.isUserName(uname)) { - com.juick.User u = userService.getUserByName(uname); + User u = userService.getUserByName(uname); if (!u.isAnonymous()) { uid = u.getUid(); } |