CoverityFix-CID:1350644 Questionable Boxing of primitive value 64/20264/2
Nimish Kapoor [Thu, 12 Jul 2018 18:43:28 +0000 (23:43 +0530)]
Change-Id: I120de26ad6acbd9c7bc310b50a81d531fd0f55ca

scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/axes/AxisProperty.java

index 608a325..28f62f2 100644 (file)
@@ -307,7 +307,7 @@ public class AxisProperty {
      */
     public UpdateStatus setLabel(Integer label) {
         if (!this.label.equals(label)) {
-            this.label = label == null ? 0 : label;
+            this.label = label == null ? Integer.valueOf(0) : label;
             return UpdateStatus.Success;
         }