This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
public String getSelectedRevision() {
String revStr = (String) revisionsComboBox.getSelectedItem();
if (revStr != null) {
revStr = revStr.substring(0, revStr.indexOf(" ")); // NOI18N
if (revStr.equals(NbBundle.getMessage(ExportDiffPanel.class, "MSG_Fetching_Revisions"))) { // NOI18N
revStr = "tip"; // NOI18N
} else {
}
return revStr;