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
}
protected Change.Key changeId;
protected ChangeType changeType;
protected String oldName;
protected String newName;
protected FileMode oldMode;
protected FileMode newMode;
protected List<String> header;
protected DiffPreferencesInfo diffPrefs;
protected SparseFileContent a;
protected SparseFileContent b;
protected List<Edit> edits;
protected DisplayMethod displayMethodA;
protected DisplayMethod displayMethodB;
protected transient String mimeTypeA;
protected transient String mimeTypeB;
protected CommentDetail comments;
protected List<Patch> 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<String> header;
private DiffPreferencesInfo diffPrefs;
private SparseFileContent a;
private SparseFileContent b;
private List<Edit> edits;
private DisplayMethod displayMethodA;
private DisplayMethod displayMethodB;
private transient String mimeTypeA;
private transient String mimeTypeB;
private CommentDetail comments;
private List<Patch> 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,