summaryrefslogtreecommitdiffstats
path: root/dexcomparator
diff options
context:
space:
mode:
authormikaelpeltier <mikaelpeltier@google.com>2014-09-18 11:34:40 +0200
committermikaelpeltier <mikaelpeltier@google.com>2014-09-18 11:34:40 +0200
commitcbef70172a21adf9ade2bd28105e51c7b4726713 (patch)
treedade29f65378c72c8ffe807778b5ba08995749d1 /dexcomparator
parent6b200734d919b327ac2dc485ed31876a4614ca5e (diff)
downloadtoolchain_jack-cbef70172a21adf9ade2bd28105e51c7b4726713.zip
toolchain_jack-cbef70172a21adf9ade2bd28105e51c7b4726713.tar.gz
toolchain_jack-cbef70172a21adf9ade2bd28105e51c7b4726713.tar.bz2
Avoid parameter annotation overwriting into dex comparator
Change-Id: Id67aa40962219f34c3643254550592c1ee7576a1
Diffstat (limited to 'dexcomparator')
-rw-r--r--dexcomparator/src/com/android/jack/DexAnnotationsComparator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dexcomparator/src/com/android/jack/DexAnnotationsComparator.java b/dexcomparator/src/com/android/jack/DexAnnotationsComparator.java
index 7df6d11..1ad383a 100644
--- a/dexcomparator/src/com/android/jack/DexAnnotationsComparator.java
+++ b/dexcomparator/src/com/android/jack/DexAnnotationsComparator.java
@@ -689,7 +689,7 @@ public class DexAnnotationsComparator {
int cptParam = 0;
for (AnnotationSetItem asi : parameterAnnotations.getAnnotationSets()) {
try {
- processGeneric("param " + cptParam + " " + method.getMethodString(), asi);
+ processGeneric("param " + (cptParam++) + " " + method.getMethodString(), asi);
} catch (DifferenceFoundException e) {
// TODO
throw new RuntimeException(e);