Ignore:
Timestamp:
11/29/11 22:52:40 (13 years ago)
Author:
masberg
Message:

Minor tweak (break up chained expression for easier stepping during debugging).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestModelicaSourceFile.java

    r1082 r1145  
    4343
    4444import org.eclipse.core.runtime.CoreException;
     45import org.modelica.mdt.core.IDefinitionLocation;
    4546import org.modelica.mdt.core.IModelicaClass;
    4647import org.modelica.mdt.core.IModelicaFolder;
     
    146147        assertEquals("Expected class name differs from actual class name for the given region.", className, actualClassName);
    147148
    148         ISourceRegion actualSourceRegion = modelicaClass.getLocation().getSourceRegion();
     149        IDefinitionLocation location = modelicaClass.getLocation();
     150        ISourceRegion actualSourceRegion = location.getSourceRegion();
    149151
    150152        int actualStartLine = actualSourceRegion.getStartLine();
Note: See TracChangeset for help on using the changeset viewer.