diff --git a/src/test/java/com/microsoft/sqlserver/testframework/Utils.java b/src/test/java/com/microsoft/sqlserver/testframework/Utils.java index d7391525e..45aa08780 100644 --- a/src/test/java/com/microsoft/sqlserver/testframework/Utils.java +++ b/src/test/java/com/microsoft/sqlserver/testframework/Utils.java @@ -280,7 +280,7 @@ private static void dropObjectIfExists(String objectName, String objectProperty, "DROP %s %s ", bracketedObjectName, objectProperty, - objectProperty == "IsProcedure" ? "PROCEDURE" : "TABLE", + "IsProcedure".equals(objectProperty) ? "PROCEDURE" : "TABLE", bracketedObjectName); stmt.executeUpdate(sql); }