Fixing visibility for HostEntry constructors.
HostEntry class was public with empty constructor, so adding constructors with default visibility actually reduced visibility of constructor. Change-Id: I4c996c0559102084946ba49a71afe10dda5e0f95
This commit is contained in:
parent
a14bc9bb69
commit
f6b9b392e7
|
@ -482,12 +482,18 @@ public static class HostEntry implements SshConfigStore.HostConfig {
|
|||
|
||||
private final List<String> 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<String> patterns) {
|
||||
/**
|
||||
* @param patterns
|
||||
* to be used in matching against host name.
|
||||
*/
|
||||
public HostEntry(List<String> patterns) {
|
||||
this.patterns = patterns;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue