diff options
author | Jay Arthanareeswaran | 2017-04-10 15:46:10 +0000 |
---|---|---|
committer | Jay Arthanareeswaran | 2017-04-11 07:10:05 +0000 |
commit | 7fde25559f0d9bae5414d15e552cebaf117cd858 (patch) | |
tree | 467e1e2cb1208f444e6da3f1fefd0d0e28c70636 /org.eclipse.jdt.apt.tests | |
parent | 8e1c234d96a73381f706dc6669e789110b8b9c16 (diff) | |
download | eclipse.jdt.core-7fde25559f0d9bae5414d15e552cebaf117cd858.tar.gz eclipse.jdt.core-7fde25559f0d9bae5414d15e552cebaf117cd858.tar.xz eclipse.jdt.core-7fde25559f0d9bae5414d15e552cebaf117cd858.zip |
Bug 513790 - Compiler warnings in I20170316-2000 after moving to M6I20170411-0500
compiler
Change-Id: I03c0649cd1989cb7c8a3aded252374fe146753a5
Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.apt.tests')
-rw-r--r-- | org.eclipse.jdt.apt.tests/src-annotations/org/eclipse/jdt/apt/tests/annotations/apitest/APIAnnotationProcessorFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.apt.tests/src-annotations/org/eclipse/jdt/apt/tests/annotations/apitest/APIAnnotationProcessorFactory.java b/org.eclipse.jdt.apt.tests/src-annotations/org/eclipse/jdt/apt/tests/annotations/apitest/APIAnnotationProcessorFactory.java index 0ff313140a..53f08a4be1 100644 --- a/org.eclipse.jdt.apt.tests/src-annotations/org/eclipse/jdt/apt/tests/annotations/apitest/APIAnnotationProcessorFactory.java +++ b/org.eclipse.jdt.apt.tests/src-annotations/org/eclipse/jdt/apt/tests/annotations/apitest/APIAnnotationProcessorFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2007 BEA Systems, Inc. + * Copyright (c) 2005, 2017 BEA Systems, Inc. * 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 @@ -173,7 +173,7 @@ public class APIAnnotationProcessorFactory extends BaseFactory { */ private AnnotationMirror findMirror(Declaration decl, AnnotationTypeDeclaration at) { for (AnnotationMirror mirror : decl.getAnnotationMirrors()) { - if (mirror.getAnnotationType().equals(at)) { + if (mirror.getAnnotationType().getDeclaration().equals(at)) { return mirror; } } |