aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/Utils.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/Utils.java b/juick-www/src/main/java/com/juick/www/Utils.java
index e88e5b1b..8189bd82 100644
--- a/juick-www/src/main/java/com/juick/www/Utils.java
+++ b/juick-www/src/main/java/com/juick/www/Utils.java
@@ -17,6 +17,8 @@
*/
package com.juick.www;
+import com.juick.*;
+import com.juick.User;
import org.springframework.jdbc.core.JdbcTemplate;
import javax.servlet.http.Cookie;
@@ -82,7 +84,7 @@ public class Utils {
}
return visitor;
} else {
- return null;
+ return new User();
}
}