Subversion Repository Public Repository

litesoft

Diff Revisions 820 vs 821 for /trunk/Java/core/Anywhere/src/org/litesoft/encryption/symmetric/SymmetricEncryptorManagerImpl.java

Diff revisions: vs.
  @@ -3,7 +3,7 @@
3 3
4 4 import java.util.*;
5 5
6 - import org.litesoft.core.util.*;
6 + import org.litesoft.core.typeutils.*;
7 7
8 8 public class SymmetricEncryptorManagerImpl implements SymmetricEncryptorManager
9 9 {
  @@ -18,8 +18,8 @@
18 18 */
19 19 private void validateSymmetricEncryptorID( String pIdentifierAndVersion )
20 20 {
21 - UtilsCommon.assertNotNullNotEmpty( SYMMETRIC_ENCRYPTOR_GET_IDENTIFIER_AND_VERSION, pIdentifierAndVersion );
22 - UtilsCommon.assertNoLeadingOrTrailingWhiteSpace( SYMMETRIC_ENCRYPTOR_GET_IDENTIFIER_AND_VERSION, pIdentifierAndVersion );
21 + Strings.assertNotNullNotEmpty( SYMMETRIC_ENCRYPTOR_GET_IDENTIFIER_AND_VERSION, pIdentifierAndVersion );
22 + Strings.assertNoLeadingOrTrailingWhiteSpace( SYMMETRIC_ENCRYPTOR_GET_IDENTIFIER_AND_VERSION, pIdentifierAndVersion );
23 23 if ( pIdentifierAndVersion.indexOf( ':' ) != -1 )
24 24 {
25 25 throw new IllegalArgumentException( "Colon (':') not allowed in the " + SYMMETRIC_ENCRYPTOR_GET_IDENTIFIER_AND_VERSION );