From 9640a61a84ab7ddc6deac2ed95d9b862bc181a1f Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Mon, 5 Feb 2018 11:43:49 +0100 Subject: [PATCH] AccountSshKey: Make members private and remove default constructor The default constructor was needed for instantiated this class in the GWT UI, but the GWT UI is no longer using this class. Change-Id: I6ad28e50d2d617eb91fcff927ea77ac788d61833 Signed-off-by: Edwin Kempin --- .../google/gerrit/reviewdb/client/AccountSshKey.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/java/com/google/gerrit/reviewdb/client/AccountSshKey.java b/java/com/google/gerrit/reviewdb/client/AccountSshKey.java index 0fd8ba212b..6874be146a 100644 --- a/java/com/google/gerrit/reviewdb/client/AccountSshKey.java +++ b/java/com/google/gerrit/reviewdb/client/AccountSshKey.java @@ -57,13 +57,9 @@ public final class AccountSshKey { } } - protected AccountSshKey.Id id; - - protected String sshPublicKey; - - protected boolean valid; - - protected AccountSshKey() {} + private AccountSshKey.Id id; + private String sshPublicKey; + private boolean valid; public AccountSshKey(AccountSshKey.Id i, String pub) { id = i;