Révision 3648
TXM/trunk/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 3648) | ||
---|---|---|
282 | 282 |
|
283 | 283 |
Log.finest("Searching parent with UUID/node path " + parentNodePath + "..."); //$NON-NLS-1$ //$NON-NLS-2$ |
284 | 284 |
|
285 |
// FIXME: MD: this is quite CPU expensive because 'retrievedParent' researches in all projects |
|
286 |
TXMResult retrievedParent = TXMResult.getResult(parentNodePath); |
|
285 |
|
|
286 |
TXMResult retrievedParent = TXMResult.getResult(this.getProject(), parentNodePath); // works only if parent and child are in the same project (which should be). |
|
287 |
if (retrievedParent == null) { // the result parent is not in the same project ??? -> should not happen but maybe usefull later ? |
|
288 |
retrievedParent = TXMResult.getResult(parentNodePath); |
|
289 |
} |
|
290 |
|
|
291 |
|
|
287 | 292 |
if (retrievedParent != null) { |
288 | 293 |
Log.finest("Parent retrieved from UUID/node path: " + retrievedParent + "."); //$NON-NLS-1$ //$NON-NLS-2$ |
289 | 294 |
retrievedParent.addChild(this); |
Formats disponibles : Unified diff