diff options
author | Vitaly Takmazov | 2016-07-07 12:06:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-07 12:06:10 +0300 |
commit | e0334bd9adc4fe06cf6e7bad6fde87fc70a3ea19 (patch) | |
tree | 6a82501b0496c9ec864fd8f36f1a5b112b6b1946 | |
parent | abea883ad41c6cd3386d27c26b80b4111ed6e558 (diff) |
fix compilation
-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; + } } |