caelum/vraptor — pull request #554 by dtelaroli (2013-07-29 13:14:30+00:00)
Title: Test for error in DefaultRouter. Method inheritance with args.

The problem is in the class:
https://github.com/caelum/vraptor/blob/master/vraptor-core/src/main/java/br/com/caelum/vraptor/http/route/DefaultParametersControl.java?source=cc#L89

I use the linkTo in post methods with parameters with empty values, because I just need route for post, and args will be created by forms.

So, paramNames.length != paramValues.length should be paramNames.length < paramValues.length to be correct.
What do you think?
Can I fix it, is it that way?