syncStashCheckbox.setVisible(true); assert syncResult.getTargetSyncSha() != null; syncStashCheckbox.setText( StackdriverDebuggerBundle.getString( "clouddebug.stash.local.changes.and.sync", setOkText(false); syncStashCheckbox.setVisible(true); syncStashCheckbox.setText(StackdriverDebuggerBundle.getString("clouddebug.stashbuttontext")); syncStashCheckbox.setSelected(true); } else if (syncResult.needsSync() && syncResult.getTargetSyncSha() == null) { syncStashCheckbox.setVisible(true); assert syncResult.getTargetSyncSha() != null; syncStashCheckbox.setText("Sync to " + syncResult.getTargetSyncSha().substring(0, 7)); syncStashCheckbox.setSelected(true); } else if (!syncResult.hasRemoteRepository()) {