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

Commit 30a9ce59 authored by László Dávid's avatar László Dávid
Browse files

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: I3e85911802c54c7a88e0b966e5e0e1896821edf6
parent b4b491f9
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