builder.setMessage(MessageFormat.format(getString(R.string.download_question), regionName, e.getValue()));
builder.setPositiveButton(R.string.default_buttons_yes, new DialogInterface.OnClickListener(){
</BUG>
@Override
public void onClick(DialogInterface dialog, int which) {
<BUG>downloadFile(e.getKey(), regionName);
</BUG>
}
});
builder.setNegativeButton(R.string.default_buttons_no, null);

builder.setMessage(MessageFormat.format(getString(R.string.download_question), regionName, e.getValue()));
} else {
MessageFormat format = new MessageFormat("{0,date,dd.MM.yyyy} : {1, number,##.#} MB", Locale.US); //$NON-NLS-1$
String description = format.format(new Object[]{new Date(fileToSave.lastModified()), ((float)fileToSave.length() / MB)});
builder.setMessage(MessageFormat.format(getString(R.string.download_question_exist), regionName, description, e.getValue()));
}
builder.setPositiveButton(R.string.default_buttons_yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
downloadFile(e.getKey(), fileToSave);
}
});
builder.setNegativeButton(R.string.default_buttons_no, null);
