Browse Source

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>
tags/v5.11.0.202102240950-m3
Matthias Sohn 3 years ago
parent
commit
686565f416
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/hooks/GitHook.java View File

@@ -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.

Loading…
Cancel
Save