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

Commit 539ea128 authored by Adam Powell's avatar Adam Powell
Browse files

Relax apilint FW1 error to a warning

This rule was catching simple getters ("getIntent") as errors even if
the method is a true property get method. Relax to warning until we
can make this a bit more clever.

Change-Id: If183ad5bdc076ce2252399d4abcc8a3a6cbb55c3
parent d18c59b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -518,7 +518,7 @@ def verify_intent_builder(clazz):
            if m.name.startswith("create") and m.name.endswith("Intent"):
                pass
            else:
                error(clazz, m, "FW1", "Methods creating an Intent must be named createFooIntent()")
                warn(clazz, m, "FW1", "Methods creating an Intent should be named createFooIntent()")


def verify_helper_classes(clazz):