mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +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()) {
|
if (unversioned.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ArrayList<DomainFile> list = new ArrayList<DomainFile>();
|
ArrayList<DomainFile> list = new ArrayList<>();
|
||||||
ArrayList<DomainFile> changedList = new ArrayList<DomainFile>();
|
ArrayList<DomainFile> changedList = new ArrayList<>();
|
||||||
for (DomainFile domainFile : unversioned) {
|
for (DomainFile domainFile : unversioned) {
|
||||||
if (domainFile.isBusy()) {
|
if (domainFile.isBusy()) {
|
||||||
Msg.showWarn(getClass(), null, "Add To Version Control Failed!",
|
Msg.showWarn(getClass(), null, "Add To Version Control Failed!",
|
||||||
|
@ -152,7 +152,9 @@ public class VersionControlAddAction extends VersionControlAction {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note: this used to be a sleep(200)
|
||||||
Swing.allowSwingToProcessEvents();
|
Swing.allowSwingToProcessEvents();
|
||||||
|
|
||||||
df.addToVersionControl(comments, keepCheckedOut, monitor);
|
df.addToVersionControl(comments, keepCheckedOut, monitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue