Merge "Adds keyword "default" to the API-linter."

This commit is contained in:
Filip Pavlis
2016-12-01 18:01:59 +00:00
committed by Android (Google) Code Review

View File

@@ -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]