import static com.google.common.base.Preconditions.checkNotNull;
public class UpgradeWarningsDialog extends JDialog {
public UpgradeWarningsDialog(UpgradeResult upgradeResult) {
UpgradeResult upgradeResult1 = upgradeResult;
List<Map<String, String>> warnings = new ArrayList<Map<String, String>>();
for (String warning : upgradeResult.getWarnings()) {
warnings.add(ImmutableMap.of("Description", warning));
}