mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Test fix for recent update to front end tool refactor
This commit is contained in:
parent
80d9d1dc88
commit
9036abc10c
1 changed files with 6 additions and 0 deletions
|
@ -181,6 +181,7 @@ public class FrontEndTool extends PluginTool implements OptionsChangeListener {
|
|||
|
||||
Element root = getToolFileXml();
|
||||
if (root == null) {
|
||||
// not file from which to check the version; perform default initialization
|
||||
installDefaultApplicationLevelPlugins();
|
||||
return;
|
||||
}
|
||||
|
@ -234,6 +235,11 @@ public class FrontEndTool extends PluginTool implements OptionsChangeListener {
|
|||
private boolean isPreUtilityGhidraVersion() {
|
||||
|
||||
Element root = getToolFileXml();
|
||||
if (root == null) {
|
||||
// not file from which to check the version; return true to allow client to perform
|
||||
// default initialization
|
||||
return true;
|
||||
}
|
||||
String version = root.getAttributeValue(VERSION_ATTRIBUTE_NAME);
|
||||
|
||||
// Note: any version implies the tool is newer than the addition of the 'version'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue