equal
deleted
inserted
replaced
73 return algorithmsInProperty; |
73 return algorithmsInProperty; |
74 } |
74 } |
75 |
75 |
76 static boolean checkAlgorithm(String[] algorithms, String algorithm, |
76 static boolean checkAlgorithm(String[] algorithms, String algorithm, |
77 AlgorithmDecomposer decomposer) { |
77 AlgorithmDecomposer decomposer) { |
78 if (algorithm == null || algorithm.length() == 0) { |
78 if (algorithm == null || algorithm.isEmpty()) { |
79 throw new IllegalArgumentException("No algorithm name specified"); |
79 throw new IllegalArgumentException("No algorithm name specified"); |
80 } |
80 } |
81 |
81 |
82 Set<String> elements = null; |
82 Set<String> elements = null; |
83 for (String item : algorithms) { |
83 for (String item : algorithms) { |