Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2011-02-22 23:23:50 +0000
committervladt2011-02-22 23:23:50 +0000
commit904e9d5bdbb77db7a686ac8d6b36d10219f7aa3c (patch)
tree37b83c40f2bc1123f9e780de56d018f3b1f98957 /org.eclipse.m2e.tests.common
parent8a8d517791142b7f7fa2948abb91809b3f136884 (diff)
downloadm2e-core-904e9d5bdbb77db7a686ac8d6b36d10219f7aa3c.tar.gz
m2e-core-904e9d5bdbb77db7a686ac8d6b36d10219f7aa3c.tar.xz
m2e-core-904e9d5bdbb77db7a686ac8d6b36d10219f7aa3c.zip
337220: Renamed MarkerLocation to SourceLocation
Diffstat (limited to 'org.eclipse.m2e.tests.common')
-rw-r--r--org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/WorkspaceHelpers.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/WorkspaceHelpers.java b/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/WorkspaceHelpers.java
index 3f8fe946..ebd25c27 100644
--- a/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/WorkspaceHelpers.java
+++ b/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/WorkspaceHelpers.java
@@ -38,7 +38,7 @@ import org.eclipse.core.runtime.Status;
import org.codehaus.plexus.util.FileUtils;
import org.eclipse.m2e.core.core.IMavenConstants;
-import org.eclipse.m2e.core.internal.markers.MarkerLocation;
+import org.eclipse.m2e.core.internal.markers.SourceLocation;
import org.eclipse.m2e.core.project.configurator.MojoExecutionKey;
@@ -309,14 +309,14 @@ public class WorkspaceHelpers {
marker.getAttribute(IMavenConstants.MARKER_ATTR_LIFECYCLE_PHASE, null));
}
- public static void assertMarkerLocation(MarkerLocation markerLocation, IMarker marker) throws CoreException {
+ public static void assertMarkerLocation(SourceLocation markerLocation, IMarker marker) throws CoreException {
Assert.assertEquals("Wrong line number", markerLocation.getLineNumber(), marker.getAttribute(IMarker.LINE_NUMBER));
Assert.assertEquals("Wrong column start", markerLocation.getColumnStart(),
marker.getAttribute(IMavenConstants.MARKER_COLUMN_START));
Assert.assertEquals("Wrong column end", markerLocation.getColumnEnd(),
marker.getAttribute(IMavenConstants.MARKER_COLUMN_END));
- markerLocation = markerLocation.getCauseLocation();
+ markerLocation = markerLocation.getLinkedLocation();
if(markerLocation == null) {
return;
}

Back to the top