diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-09 02:17:14 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-09 02:42:47 +0100 |
commit | 686565f416752db9b89902aa20609c0b99d1a40d (patch) | |
tree | afdb8ba86cdca177fb9064c9ac510febc9e17f83 | |
parent | 19bed3399de12654481f8072cab60cb4b1796d8a (diff) | |
download | jgit-686565f416752db9b89902aa20609c0b99d1a40d.tar.gz jgit-686565f416752db9b89902aa20609c0b99d1a40d.zip |
GitHook: make fields outputStream and errorStream private
Subclasses can use the corresponding getter methods.
Change-Id: Iaa9ab01f5a9731a264b28608d2418a9405b601d7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java b/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java index 4059b16b39..53f4819d34 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java @@ -44,12 +44,12 @@ abstract class GitHook<T> implements Callable<T> { /** * The output stream to be used by the hook. */ - protected final PrintStream outputStream; + private final PrintStream outputStream; /** * The error stream to be used by the hook. */ - protected final PrintStream errorStream; + private final PrintStream errorStream; /** * Constructor for GitHook. |