fix: actually verify configurationMatches
This commit is contained in:
parent
6ccee05851
commit
86a0b1e6d5
@ -52,9 +52,14 @@ public class PCloud implements Cloud {
|
||||
|
||||
@Override
|
||||
public boolean configurationMatches(Cloud cloud) {
|
||||
return true;
|
||||
return cloud instanceof PCloud && configurationMatches((PCloud) cloud);
|
||||
}
|
||||
|
||||
private boolean configurationMatches(PCloud cloud) {
|
||||
return url.equals(cloud.url) && username.equals(cloud.username);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean predefined() {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user