diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java index 6fbb4c5a0..228c25f0a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/transport/ssh/OpenSshConfigFile.java @@ -482,12 +482,18 @@ public static class HostEntry implements SshConfigStore.HostConfig { private final List patterns; - // Constructor used to build the merged entry; never matches anything - HostEntry() { + /** + * Constructor used to build the merged entry; never matches anything + */ + public HostEntry() { this.patterns = Collections.emptyList(); } - HostEntry(List patterns) { + /** + * @param patterns + * to be used in matching against host name. + */ + public HostEntry(List patterns) { this.patterns = patterns; }