Remove redundant modifiers in interface method declarations

As per JLS it is discouraged to specify the public modifier for methods
declared in an interface. This commit also makes sure that the behavior is
consistent across code files.