From d0af7eccc027fdf3945dfafe0a5e97a77f961f7c Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 11 May 2016 18:44:41 +0900 Subject: [PATCH] PatchScript: Change visibility of members to private No classes extend PatchScript, so there is no need for the members' visibility to be protected. Change-Id: I50ec0ac8f6fe52c47c54668529187383e3080422 --- .../gerrit/common/data/PatchScript.java | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchScript.java b/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchScript.java index 5167fe6da0..5777396630 100644 --- a/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchScript.java +++ b/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchScript.java @@ -35,30 +35,30 @@ public class PatchScript { FILE, SYMLINK, GITLINK } - protected Change.Key changeId; - protected ChangeType changeType; - protected String oldName; - protected String newName; - protected FileMode oldMode; - protected FileMode newMode; - protected List header; - protected DiffPreferencesInfo diffPrefs; - protected SparseFileContent a; - protected SparseFileContent b; - protected List edits; - protected DisplayMethod displayMethodA; - protected DisplayMethod displayMethodB; - protected transient String mimeTypeA; - protected transient String mimeTypeB; - protected CommentDetail comments; - protected List history; - protected boolean hugeFile; - protected boolean intralineDifference; - protected boolean intralineFailure; - protected boolean intralineTimeout; - protected boolean binary; - protected transient String commitIdA; - protected transient String commitIdB; + private Change.Key changeId; + private ChangeType changeType; + private String oldName; + private String newName; + private FileMode oldMode; + private FileMode newMode; + private List header; + private DiffPreferencesInfo diffPrefs; + private SparseFileContent a; + private SparseFileContent b; + private List edits; + private DisplayMethod displayMethodA; + private DisplayMethod displayMethodB; + private transient String mimeTypeA; + private transient String mimeTypeB; + private CommentDetail comments; + private List history; + private boolean hugeFile; + private boolean intralineDifference; + private boolean intralineFailure; + private boolean intralineTimeout; + private boolean binary; + private transient String commitIdA; + private transient String commitIdB; public PatchScript(final Change.Key ck, final ChangeType ct, final String on, final String nn, final FileMode om, final FileMode nm,