From 686565f416752db9b89902aa20609c0b99d1a40d Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Tue, 9 Feb 2021 02:17:14 +0100 Subject: [PATCH] GitHook: make fields outputStream and errorStream private Subclasses can use the corresponding getter methods. Change-Id: Iaa9ab01f5a9731a264b28608d2418a9405b601d7 Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java | 4 ++-- 1 file 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 4059b16b3..53f4819d3 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 implements Callable { /** * 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.