From e0334bd9adc4fe06cf6e7bad6fde87fc70a3ea19 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 7 Jul 2016 12:06:10 +0300 Subject: fix compilation --- build.gradle | 2 +- src/main/java/com/juick/User.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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; + } } -- cgit v1.2.3