}
return getPlainCloud(bc);
}
public static void initializeCloud(BugCollection bc, Cloud cloud) throws IOException {
IGuiCallback callback = bc.getProject().getGuiCallback();
if (!cloud.availableForInitialization()) {
return;
}
if (DEBUG) {
callback.showMessageDialog("attempting to initialize " + cloud.getClass().getName());
}
if (!cloud.initialize()) {
throw new IOException("Unable to connect to " + cloud.getCloudName());
}
if (DEBUG) {
callback.showMessageDialog("initialized " + cloud.getClass().getName());
}
}