1.1 --- a/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/impl/CompareCase.java Thu Jan 31 17:39:47 2013 +0100
1.2 +++ b/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/impl/CompareCase.java Tue Feb 05 08:48:23 2013 +0100
1.3 @@ -135,9 +135,15 @@
1.4 if (f == null) {
1.5 f = m.getDeclaringClass().getAnnotation(HtmlFragment.class);
1.6 }
1.7 - HttpResource r = m.getAnnotation(HttpResource.class);
1.8 - if (r == null) {
1.9 - r = m.getDeclaringClass().getAnnotation(HttpResource.class);
1.10 + Http.Resource[] r = {};
1.11 + Http h = m.getAnnotation(Http.class);
1.12 + if (h == null) {
1.13 + h = m.getDeclaringClass().getAnnotation(Http.class);
1.14 + if (h != null) {
1.15 + r = h.value();
1.16 + }
1.17 + } else {
1.18 + r = h.value();
1.19 }
1.20 if (brwsr.length == 0) {
1.21 final Launcher s = l.brwsr(null);