Révision 3669

TXM/trunk/bundles/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 3669)
282 282
			
283 283
			Log.finest("Searching parent with UUID/node path " + parentNodePath + "..."); //$NON-NLS-1$ //$NON-NLS-2$
284 284
			
285
		
286
			TXMResult retrievedParent = TXMResult.getResult(this.getProject(), parentNodePath); // works only if parent and child are in the same project (which should be).
285
			TXMResult retrievedParent = null;
286
			if (this.getProject() != null) {
287
				retrievedParent = TXMResult.getResult(this.getProject(), parentNodePath); // works only if parent and child are in the same project (which should be).
288
			}
287 289
			if (retrievedParent == null) { // the result parent is not in the same project ??? -> should not happen but maybe usefull later ?
288 290
				retrievedParent = TXMResult.getResult(parentNodePath);
289 291
			}

Formats disponibles : Unified diff