caelum/vraptor4 — pull request #787 by garcia-jj (2014-09-07 04:45:30+00:00)
Title: Fixing #734 that causes a StackOverflow when we use Result.redirectTo

Fixes #734 pull request that causes a `StackOverflowError` when I use a `Result.redirectTo(Object)` in my application. The #734 pull request forgot to add a cast to `Class` to call `Result.redirectTo(Class)`. So the method call himself infinitely throwing a `StackOverflowError`.

I'll merge this pull request because can break some apps. I have tested in my application right now and everything works fine. And if any problems occurs we can fix (I think won't), we can rollback.