Adds keyword "default" to the API-linter.
This will fix issue when linting Java 8 default methods on interfaces, e.g. Ie46a876dcb14b46b8b2584735c106c25655ec6cf. Test: Manualy tried that the linter no longer gives the error. Change-Id: I68ade6ba6401439667408076a5454caef77ef72d
This commit is contained in:
@@ -91,7 +91,7 @@ class Method():
|
||||
while r in raw: raw.remove(r)
|
||||
self.split = list(raw)
|
||||
|
||||
for r in ["method", "public", "protected", "static", "final", "deprecated", "abstract"]:
|
||||
for r in ["method", "public", "protected", "static", "final", "deprecated", "abstract", "default"]:
|
||||
while r in raw: raw.remove(r)
|
||||
|
||||
self.typ = raw[0]
|
||||
|
||||
Reference in New Issue
Block a user