Fix Sonar issue:

Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java b/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java
index 741de20..7e28afb 100644
--- a/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java
@@ -106,7 +106,7 @@
             try {
                 response = br.readLine();
                 response = response.trim().replace("\n", "");
-                if (response.equals("y")) {
+                if ("y".equals(response)) {
                     this.purgeIntents(ImmutableList.of(intent));
                 }
             } catch (IOException e) {