improve java dependency test coverage
This commit is contained in:
parent
40c8a53019
commit
cb2ca39832
3 changed files with 7 additions and 2 deletions
|
@ -43,7 +43,7 @@ class JavaParser(TokenParser):
|
|||
self._process_other(token, content)
|
||||
|
||||
def _process_namespace(self, token, content):
|
||||
if u(content) == u('import'):
|
||||
if u(content).split() and u(content).split()[0] == u('import'):
|
||||
self.state = 'import'
|
||||
|
||||
elif self.state == 'import':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue