From f3de17fa7152ccc7637709835a49a0a1baaa611e Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Mon, 14 Nov 2016 04:14:29 +0700 Subject: some fields are finalized; equals() improvements --- juick-core/src/main/java/com/juick/PM.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'juick-core/src/main/java/com/juick/PM.java') 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; + } } -- cgit v1.2.3