src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java

changeset 397
b99d7e355d4b
parent 368
0989ad8c0860
child 637
9c07ef4934dd
     1.1 --- a/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java	Thu Aug 08 10:10:38 2013 -0700
     1.2 +++ b/src/share/jaxws_classes/com/sun/org/glassfish/external/statistics/impl/StringStatisticImpl.java	Fri Aug 23 09:57:21 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -90,6 +90,8 @@
    1.11  
    1.12      // todo: equals implementation
    1.13      public Object invoke(Object proxy, Method m, Object[] args) throws Throwable {
    1.14 +        checkMethod(m);
    1.15 +
    1.16          Object result;
    1.17          try {
    1.18              result = m.invoke(this, args);
    1.19 @@ -98,7 +100,6 @@
    1.20          } catch (Exception e) {
    1.21              throw new RuntimeException("unexpected invocation exception: " +
    1.22                         e.getMessage());
    1.23 -        } finally {
    1.24          }
    1.25          return result;
    1.26      }

mercurial