Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ead9418 authored by László Dávid's avatar László Dávid Committed by Chet Haase
Browse files

Fix infinite recursive loop DO NOT MERGE

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.

Note: Checked into AOSP. Cherry-picking for mr1.1.

Issue #7621806 IntProperty has infinite recursion bug

Change-Id: I2f52dd3689198cb948925aa65dd9c95be7888fe7
parent 6f3b20cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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