summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLászló Dávid <laszlo.david@gmail.com>2012-11-23 00:26:22 +0100
committerLászló Dávid <laszlo.david@gmail.com>2012-11-23 00:26:22 +0100
commitc5d43f76fd7c3ccb91f1b75618a9c9e8f202505b (patch)
treef95c27b40338f5e0e57ead1d0e2a2d9a1fdaae17 /core
parent7e007ff83738a83f43cb59ddc023a2b860367074 (diff)
downloadframeworks_base-c5d43f76fd7c3ccb91f1b75618a9c9e8f202505b.zip
frameworks_base-c5d43f76fd7c3ccb91f1b75618a9c9e8f202505b.tar.gz
frameworks_base-c5d43f76fd7c3ccb91f1b75618a9c9e8f202505b.tar.bz2
Fix infinite recursive loop
FindBugs description: There is an apparent recursive loop at IntProperty.java in method set(Object, Integer) This method unconditionally invokes itself. This would seem to indicate an infinite recursive loop that will result in a stack overflow. Change-Id: I2f52dd3689198cb948925aa65dd9c95be7888fe7
Diffstat (limited to 'core')
-rw-r--r--core/java/android/util/IntProperty.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/IntProperty.java b/core/java/android/util/IntProperty.java
index 459d6b2..17977ca 100644
--- a/core/java/android/util/IntProperty.java
+++ b/core/java/android/util/IntProperty.java
@@ -42,7 +42,7 @@ public abstract class IntProperty<T> extends Property<T, Integer> {
@Override
final public void set(T object, Integer value) {
- set(object, value.intValue());
+ setValue(object, value.intValue());
}
} \ No newline at end of file