Ignore location for Java properties

Closes #549

Signed-off-by: Michal Čihař <michal@cihar.com>