diff options
author | László Dávid <laszlo.david@gmail.com> | 2012-11-23 00:26:22 +0100 |
---|---|---|
committer | László Dávid <laszlo.david@gmail.com> | 2012-11-23 00:26:22 +0100 |
commit | c5d43f76fd7c3ccb91f1b75618a9c9e8f202505b (patch) | |
tree | f95c27b40338f5e0e57ead1d0e2a2d9a1fdaae17 /core | |
parent | 7e007ff83738a83f43cb59ddc023a2b860367074 (diff) | |
download | frameworks_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.java | 2 |
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 |