mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-29 - commented the change per code review
This commit is contained in:
parent
bba1624c79
commit
fd3e835be5
1 changed files with 4 additions and 2 deletions
|
@ -90,8 +90,8 @@ public class VersionControlAddAction extends VersionControlAction {
|
|||
if (unversioned.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
ArrayList<DomainFile> list = new ArrayList<DomainFile>();
|
||||
ArrayList<DomainFile> changedList = new ArrayList<DomainFile>();
|
||||
ArrayList<DomainFile> list = new ArrayList<>();
|
||||
ArrayList<DomainFile> changedList = new ArrayList<>();
|
||||
for (DomainFile domainFile : unversioned) {
|
||||
if (domainFile.isBusy()) {
|
||||
Msg.showWarn(getClass(), null, "Add To Version Control Failed!",
|
||||
|
@ -152,7 +152,9 @@ public class VersionControlAddAction extends VersionControlAction {
|
|||
return;
|
||||
}
|
||||
|
||||
// Note: this used to be a sleep(200)
|
||||
Swing.allowSwingToProcessEvents();
|
||||
|
||||
df.addToVersionControl(comments, keepCheckedOut, monitor);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue