Bladeren bron

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 jaren geleden
bovenliggende
commit
686565f416
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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 Bestand weergeven

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

Laden…
Annuleren
Opslaan