diff options
author | bvosburgh | 2012-02-10 20:41:49 +0000 |
---|---|---|
committer | bvosburgh | 2012-02-10 20:41:49 +0000 |
commit | 585d138812db7b49d989b61990a3bac24ce5e54c (patch) | |
tree | 70a91b46b33ad455e5e9d87bea818a4a4a6e885f /jaxb/plugins/org.eclipse.jpt.jaxb.core/src | |
parent | fe166f83246725ffd13f370ca381c684c9aa1d4b (diff) | |
download | webtools.dali-585d138812db7b49d989b61990a3bac24ce5e54c.tar.gz webtools.dali-585d138812db7b49d989b61990a3bac24ce5e54c.tar.xz webtools.dali-585d138812db7b49d989b61990a3bac24ce5e54c.zip |
tweak annotation adapters
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlTypeAnnotation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlTypeAnnotation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlTypeAnnotation.java index 0ae69baaf0..5f03152908 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlTypeAnnotation.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceXmlTypeAnnotation.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2011 Oracle. All rights reserved. + * Copyright (c) 2010, 2012 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -310,11 +310,11 @@ public final class SourceXmlTypeAnnotation } public TextRange getPropTextRange(int index, CompilationUnit astRoot) { - return getElementTextRange(getAnnotationElementSubvalueTextRange(this.propOrderDeclarationAdapter, index, astRoot), astRoot); + return getElementTextRange(this.selectAnnotationElementTextRange(this.propOrderDeclarationAdapter, index, astRoot), astRoot); } public boolean propTouches(int index, int pos, CompilationUnit astRoot) { - return textRangeTouches(getAnnotationElementSubvalueTextRange(this.propOrderDeclarationAdapter, index, astRoot), pos); + return textRangeTouches(this.selectAnnotationElementTextRange(this.propOrderDeclarationAdapter, index, astRoot), pos); } |