Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2013-03-13 17:37:41 +0000
committerBrian Vosburgh2013-03-13 17:37:41 +0000
commit378467d1fe3cb85c0c92071813bf72a19d5dccd0 (patch)
tree666dbdff7f6aefa4e75a58723b3d4263d87aff33 /jaxb/plugins
parent51c1b74cd5943c070aced7ca3dd0a5903395a2ad (diff)
downloadwebtools.dali-378467d1fe3cb85c0c92071813bf72a19d5dccd0.tar.gz
webtools.dali-378467d1fe3cb85c0c92071813bf72a19d5dccd0.tar.xz
webtools.dali-378467d1fe3cb85c0c92071813bf72a19d5dccd0.zip
clean up TextRange
Diffstat (limited to 'jaxb/plugins')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/AbstractJaxbContextNode.java3
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/ELJaxbContextRootImpl.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/AbstractJaxbContextNode.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/AbstractJaxbContextNode.java
index d9c48f768d..4fee007633 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/AbstractJaxbContextNode.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/AbstractJaxbContextNode.java
@@ -12,6 +12,7 @@ package org.eclipse.jpt.jaxb.core.internal.context;
import java.util.List;
import org.eclipse.core.resources.IResource;
import org.eclipse.jpt.common.core.JptResourceType;
+import org.eclipse.jpt.common.core.internal.utility.EmptyTextRange;
import org.eclipse.jpt.common.core.internal.utility.ValidationMessageTools;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.common.core.utility.ValidationMessage;
@@ -106,7 +107,7 @@ public abstract class AbstractJaxbContextNode
/* default impl */
public TextRange getValidationTextRange() {
- return TextRange.Empty.instance(); //?
+ return EmptyTextRange.instance(); //?
}
/**
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/ELJaxbContextRootImpl.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/ELJaxbContextRootImpl.java
index 43d59bab4e..fb28815eab 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/ELJaxbContextRootImpl.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/internal/context/ELJaxbContextRootImpl.java
@@ -17,6 +17,7 @@ import java.util.List;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
+import org.eclipse.jpt.common.core.internal.utility.EmptyTextRange;
import org.eclipse.jpt.common.core.resource.xml.JptXmlResource;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.common.utility.internal.ObjectTools;
@@ -241,7 +242,7 @@ public class ELJaxbContextRootImpl
@Override
public TextRange getValidationTextRange() {
- return TextRange.Empty.instance(); //?
+ return EmptyTextRange.instance(); //?
}
@Override

Back to the top