|
a/tool/run/plugins/basic/pluginSearch.java |
|
b/tool/run/plugins/basic/pluginSearch.java |
|
... |
|
... |
87 |
|
87 |
|
88 |
|
88 |
|
89 |
// check for internal commands like "help", or else do a normal search
|
89 |
// check for internal commands like "help", or else do a normal search
|
90 |
if(internalCommand(searchTerm)==false){
|
90 |
if(internalCommand(searchTerm)==false){
|
91 |
// start by looking at the components
|
91 |
// start by looking at the components
|
92 |
String matchComponentName =
|
92 |
// String matchComponentName =
|
93 |
searchListSPDX(core.components, searchTerm, "Library");
|
93 |
// searchListSPDX(core.components, searchTerm, "Library");
|
94 |
// look in products now
|
94 |
// look in products now
|
95 |
String matchProductName =
|
95 |
String matchProductName =
|
96 |
searchListSPDX(core.products, searchTerm, "Products");
|
96 |
searchListSPDX(core.products, searchTerm, "Products");
|
97 |
|
97 |
|
98 |
// compile all the results together
|
98 |
// compile all the results together
|
99 |
output = matchComponentName
|
99 |
output = //matchComponentName
|
100 |
+ matchProductName;
|
100 |
matchProductName;
|
101 |
}
|
101 |
}
|
102 |
|
102 |
|
103 |
|
103 |
|
104 |
|
104 |
|
105 |
if(resultCounter > 1){
|
105 |
if(resultCounter > 1){
|