Skip to content

Commit

Permalink
Merge pull request playframework#285 from shelajev/patch-1
Browse files Browse the repository at this point in the history
Fix lighthouse-131-patch
  • Loading branch information
pepite committed May 10, 2012
2 parents 21052ae + 13eceb0 commit 537eb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/play/mvc/results/RenderJson.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void apply(Request request, Response response) {
//
static Method getMethod(Class<?> clazz, String name) {
for (Method m : clazz.getDeclaredMethods()) {
if (m.getName().equals(name)) {
if (m.getName().equals(name) && !m.isBridge()) {
return m;
}
}
Expand Down

0 comments on commit 537eb7f

Please sign in to comment.