1.1 --- a/samples/messagedigest/src-new-api/org/apidesign/api/security/Digest.java Sat Jun 14 09:58:11 2008 +0200
1.2 +++ b/samples/messagedigest/src-new-api/org/apidesign/api/security/Digest.java Fri Apr 03 16:32:36 2020 +0200
1.3 @@ -12,10 +12,10 @@
1.4 */
1.5 // BEGIN: day.end.bridges.Digest
1.6 public final class Digest {
1.7 - private final DigestImplementation<?> impl;
1.8 + private final DigestImpl<?> impl;
1.9
1.10 /** Factory method is better than constructor */
1.11 - private Digest(DigestImplementation<?> impl) {
1.12 + private Digest(DigestImpl<?> impl) {
1.13 this.impl = impl;
1.14 }
1.15
1.16 @@ -23,7 +23,7 @@
1.17 */
1.18 public static Digest getInstance(String algorithm) {
1.19 for (Digestor<?> digestor : ServiceLoader.load(Digestor.class)) {
1.20 - DigestImplementation<?> impl = DigestImplementation.create(
1.21 + DigestImpl<?> impl = DigestImpl.create(
1.22 digestor, algorithm
1.23 );
1.24 if (impl != null) {