mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Assembla connector. Correct isConfigured method. Avoid unnecessary connections.
This commit is contained in:
+5
@@ -74,4 +74,9 @@ public class AssemblaRepository extends GenericRepository {
|
||||
public String getPresentableName() {
|
||||
return StringUtil.isEmpty(getUsername()) ? "<undefined>" : getUsername() + "'s tickets";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isConfigured() {
|
||||
return super.isConfigured() && StringUtil.isNotEmpty(getUsername()) && StringUtil.isNotEmpty(getPassword());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user