mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
optimize something in last commit
This commit is contained in:
parent
1d6fff500a
commit
27f0a6d064
1 changed files with 2 additions and 1 deletions
|
@ -308,10 +308,11 @@ public class Binary extends Openable implements IBinary {
|
|||
|
||||
String[] sourceFiles = symbolreader.getSourceFiles();
|
||||
if (sourceFiles != null && sourceFiles.length > 0) {
|
||||
ISourceFinder srcFinder = (ISourceFinder) getAdapter(ISourceFinder.class);
|
||||
|
||||
for (String filename : sourceFiles) {
|
||||
|
||||
// Find the file locally
|
||||
ISourceFinder srcFinder = (ISourceFinder) getAdapter(ISourceFinder.class);
|
||||
if (srcFinder != null) {
|
||||
String localPath = srcFinder.toLocalPath(filename);
|
||||
if (localPath != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue