Fix Feature TDI-29225 : Fix the special components: tCreateTable, tMSSQLBulkExec and tNetezzaNzLoad

https://jira.talendforge.org/browse/TDI-29225

git-svn-id: http://talendforge.org/svn/tos/trunk@116723 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
wwang
2014-04-22 05:37:15 +00:00
parent 2c1ec42e50
commit ac8bfda6b1

View File

@@ -14,7 +14,6 @@ package routines.system;
import java.security.SecureRandom;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
@@ -75,13 +74,4 @@ public class PasswordEncryptUtil {
}
return null;
}
public static boolean isPasswordType(String type) {
// should match with JavaTypesManager.PASSWORD.getLabel() and
// JavaTypesManager.PASSWORD.getId()
if (type == null) {
return false;
}
return type.equals("Password") || type.equals("id_Password"); //$NON-NLS-1$ //$NON-NLS-2$
}
}