diff options
author | vladt | 2011-02-22 23:23:50 +0000 |
---|---|---|
committer | vladt | 2011-02-22 23:23:50 +0000 |
commit | 904e9d5bdbb77db7a686ac8d6b36d10219f7aa3c (patch) | |
tree | 37b83c40f2bc1123f9e780de56d018f3b1f98957 /org.eclipse.m2e.tests.common | |
parent | 8a8d517791142b7f7fa2948abb91809b3f136884 (diff) | |
download | m2e-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.java | 6 |
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; } |