equal
deleted
inserted
replaced
416 Configuration.Parameters params, |
416 Configuration.Parameters params, |
417 String provider) |
417 String provider) |
418 throws NoSuchProviderException, NoSuchAlgorithmException { |
418 throws NoSuchProviderException, NoSuchAlgorithmException { |
419 |
419 |
420 Objects.requireNonNull(type, "null type name"); |
420 Objects.requireNonNull(type, "null type name"); |
421 if (provider == null || provider.length() == 0) { |
421 if (provider == null || provider.isEmpty()) { |
422 throw new IllegalArgumentException("missing provider"); |
422 throw new IllegalArgumentException("missing provider"); |
423 } |
423 } |
424 |
424 |
425 checkPermission(type); |
425 checkPermission(type); |
426 try { |
426 try { |