Commit fd64777
committed
No point checking for null, the constructor handles the null the same as the default constructor which just passes null directly into this constructor anyway. So if there's a value we get what we want, and if there's not, we still get what we want. Simpler is better.
1 parent fd5f201 commit fd64777
File tree
1 file changed
+1
-6
lines changed- src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline
1 file changed
+1
-6
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 88 | + | |
94 | 89 | | |
95 | 90 | | |
96 | 91 | | |
| |||
0 commit comments