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
This commit is contained in:
David Pursehouse
2016-05-11 18:44:41 +09:00
parent d07623f2d6
commit d0af7eccc0

View File

@@ -35,30 +35,30 @@ public class PatchScript {
FILE, SYMLINK, GITLINK FILE, SYMLINK, GITLINK
} }
protected Change.Key changeId; private Change.Key changeId;
protected ChangeType changeType; private ChangeType changeType;
protected String oldName; private String oldName;
protected String newName; private String newName;
protected FileMode oldMode; private FileMode oldMode;
protected FileMode newMode; private FileMode newMode;
protected List<String> header; private List<String> header;
protected DiffPreferencesInfo diffPrefs; private DiffPreferencesInfo diffPrefs;
protected SparseFileContent a; private SparseFileContent a;
protected SparseFileContent b; private SparseFileContent b;
protected List<Edit> edits; private List<Edit> edits;
protected DisplayMethod displayMethodA; private DisplayMethod displayMethodA;
protected DisplayMethod displayMethodB; private DisplayMethod displayMethodB;
protected transient String mimeTypeA; private transient String mimeTypeA;
protected transient String mimeTypeB; private transient String mimeTypeB;
protected CommentDetail comments; private CommentDetail comments;
protected List<Patch> history; private List<Patch> history;
protected boolean hugeFile; private boolean hugeFile;
protected boolean intralineDifference; private boolean intralineDifference;
protected boolean intralineFailure; private boolean intralineFailure;
protected boolean intralineTimeout; private boolean intralineTimeout;
protected boolean binary; private boolean binary;
protected transient String commitIdA; private transient String commitIdA;
protected transient String commitIdB; private transient String commitIdB;
public PatchScript(final Change.Key ck, final ChangeType ct, final String on, public PatchScript(final Change.Key ck, final ChangeType ct, final String on,
final String nn, final FileMode om, final FileMode nm, final String nn, final FileMode om, final FileMode nm,