minor changes in Polyline.java 78/16678/2
Juergen KOCH [Thu, 11 Jun 2015 15:43:42 +0000 (17:43 +0200)]
Change-Id: I36b41977e0743336ffaa6035452e2c996aa62548

scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/polyline/Polyline.java

index b434f7c..a475c71 100644 (file)
@@ -245,6 +245,9 @@ public class Polyline extends ClippableContouredObject {
                     case DATATIPS:
                         setDatatips((Integer[]) value);
                         break;
+                    case DATATIPSCOUNT:
+                       // nothing should be done
+                        break;
                     case TIP_DISPLAY_FNC:
                         setDisplayFunction((String) value);
                         break;
@@ -440,14 +443,6 @@ public class Polyline extends ClippableContouredObject {
     /**
      * @param datatips the datatips to set
      */
-    private UpdateStatus setDatatips(List<Integer> datatips) {
-        this.datatips = datatips;
-        return UpdateStatus.Success;
-    }
-
-    /**
-     * @param datatips the datatips to set
-     */
     public UpdateStatus setDatatips(Integer[] datatips) {
         this.datatips = new LinkedList<Integer>(Arrays.asList(datatips));
         return UpdateStatus.Success;