diff options
author | 2016-11-14 04:14:29 +0700 | |
---|---|---|
committer | 2016-11-14 04:14:29 +0700 | |
commit | f3de17fa7152ccc7637709835a49a0a1baaa611e (patch) | |
tree | 2b655c5343c60278d4e75e47153795d77de1d872 /juick-core/src/main/java/com/juick/PM.java | |
parent | e610c996f0107cf3c9dc489e67c1eaebfeb73551 (diff) |
some fields are finalized; equals() improvements
Diffstat (limited to 'juick-core/src/main/java/com/juick/PM.java')
-rw-r--r-- | juick-core/src/main/java/com/juick/PM.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/juick-core/src/main/java/com/juick/PM.java b/juick-core/src/main/java/com/juick/PM.java index 658cafc9..4686b34a 100644 --- a/juick-core/src/main/java/com/juick/PM.java +++ b/juick-core/src/main/java/com/juick/PM.java @@ -4,13 +4,13 @@ package com.juick; * Created by vt on 08/02/16. */ public class PM { - private User to; - - public User getTo() { - return to; - } + private final User to; public PM(User to) { this.to = to; } + + public User getTo() { + return to; + } } |