Skip to content

Commit

Permalink
Removed redundant instantiation for String
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabaz Basha Kowthalam committed Nov 15, 2024
1 parent 6a5bfc0 commit d8426c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/zip/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<post-processing>
<![CDATA[
if (properties.get("exitCode") != 0) {
properties.put(new java.lang.String("Status"), new java.lang.String("Failure"));
properties.put("Status", "Failure");
}
else {
properties.put("Status", "Success");
Expand Down Expand Up @@ -65,7 +65,7 @@
<post-processing>
<![CDATA[
if (properties.get("exitCode") != 0) {
properties.put(new java.lang.String("Status"), new java.lang.String("Failure"));
properties.put("Status", "Failure");
}
else {
properties.put("Status", "Success");
Expand Down

0 comments on commit d8426c1

Please sign in to comment.