Fix for Issue #18

I submitted issue #18 -- https://github.com/raml-org/raml-java-parser/issues/18
The code change is what I believe to be the fix for this issue.