Fix Java file type pattern
Merge pull request #48 from rendon/master

Fix Java file type pattern

This adds support like this definition for java:
public void method1()
{
    return;
}