samples/messagedigest/src-new-api/org/apidesign/api/security/DigestImpl.java
changeset 409 40cabcdcd2be
parent 302 fb84830aacc2
     1.1 --- a/samples/messagedigest/src-new-api/org/apidesign/api/security/DigestImpl.java	Thu Dec 25 19:40:48 2008 +0100
     1.2 +++ b/samples/messagedigest/src-new-api/org/apidesign/api/security/DigestImpl.java	Thu Oct 30 21:30:10 2014 +0100
     1.3 @@ -14,7 +14,10 @@
     1.4   */
     1.5  // BEGIN: day.end.bridges.DigestImpl
     1.6  final class DigestImpl<Data> {
     1.7 -    private static DigestorAccessorImpl ACCESSOR = new DigestorAccessorImpl();
     1.8 +    private static final DigestorAccessorImpl ACCESSOR;
     1.9 +    static {
    1.10 +        ACCESSOR = new DigestorAccessorImpl();
    1.11 +    }
    1.12      
    1.13      private final Digestor<Data> digestor;
    1.14      private final String algorithm;