Skip to content

Commit

Permalink
Use equals() to compare strings instead of '==' or '!='.
Browse files Browse the repository at this point in the history
  • Loading branch information
armenak committed May 27, 2016
1 parent 811aaa6 commit edfc299
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public List<MatchMetaData> getMetaData() {
// Populate list of tables excluded from the analysis
List<String> 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);
}
Expand Down

0 comments on commit edfc299

Please sign in to comment.