diff options
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | src/main/java/com/juick/User.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 3fee10cd..d23b241a 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ dependencies { compile 'com.github.scribejava:scribejava-apis:2.7.3' compile 'org.apache.httpcomponents:httpclient:4.5.1' compile 'org.apache.commons:commons-lang3:3.4' - compile "org.springframework:spring-jdbc:4.3.0.RELEASE" + compile "org.springframework:spring-jdbc:4.3.1.RELEASE" compile 'org.json:json:20151123' testCompile 'junit:junit:4.12' providedCompile 'javax.servlet:javax.servlet-api:3.1.0' diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java index 40a3df96..b9111d8f 100644 --- a/src/main/java/com/juick/User.java +++ b/src/main/java/com/juick/User.java @@ -90,4 +90,7 @@ public class User { public void setAuthHash(String authHash) { AuthHash = authHash; } + public Integer getUnreadCount() { + return MessagesCount; + } } |