diff --git a/src/main/java/com/strider/dataanonymizer/database/metadata/MetaData.java b/src/main/java/com/strider/dataanonymizer/database/metadata/MetaData.java index f011e6d4..d7d1b8a6 100644 --- a/src/main/java/com/strider/dataanonymizer/database/metadata/MetaData.java +++ b/src/main/java/com/strider/dataanonymizer/database/metadata/MetaData.java @@ -90,7 +90,7 @@ public List getMetaData() { // Populate list of tables excluded from the analysis List excludeTablesList = new ArrayList<>(); String excludeTables = databaseProperties.getProperty("exclude-tables"); - if (excludeTables != null && excludeTables != "") { + if (excludeTables != null && !"".equals(excludeTables)) { String[] tempArr=excludeTables.split(","); excludeTablesList = Arrays.asList(tempArr); }