diff options
author | pfullbright | 2012-04-17 14:33:04 +0000 |
---|---|---|
committer | pfullbright | 2012-04-17 14:33:04 +0000 |
commit | a109cfeca26e007c09cb6898fd26e42f7b0bcee5 (patch) | |
tree | 0b837a1dbc028086a51de6a9e70f52d191a75de5 /common | |
parent | d72c4be90fc3571fd3924ec5bb2782d2820e9a58 (diff) | |
download | webtools.dali-a109cfeca26e007c09cb6898fd26e42f7b0bcee5.tar.gz webtools.dali-a109cfeca26e007c09cb6898fd26e42f7b0bcee5.tar.xz webtools.dali-a109cfeca26e007c09cb6898fd26e42f7b0bcee5.zip |
temp revert
Diffstat (limited to 'common')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/source/SourceAnnotatedElement.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/source/SourceAnnotatedElement.java b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/source/SourceAnnotatedElement.java index d8affcc882..41ef81b12c 100644 --- a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/source/SourceAnnotatedElement.java +++ b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/source/SourceAnnotatedElement.java @@ -232,7 +232,8 @@ abstract class SourceAnnotatedElement<E extends AnnotatedElement> public NestableAnnotation getAnnotation(int index, String nestableAnnotationName) { CombinationAnnotationContainer container = this.annotationContainers.get(nestableAnnotationName); if (container == null) { - throw new ArrayIndexOutOfBoundsException("size: 0 index: " + index); //$NON-NLS-1$ + return null; +// throw new ArrayIndexOutOfBoundsException("size: 0 index: " + index); //$NON-NLS-1$ } return container.getNestedAnnotation(index); } |