Fix datatipRemove(datatipHandler). It was failing in the jenkins instance 85/13085/1
Sylvestre Ledru [Wed, 6 Nov 2013 08:47:49 +0000 (09:47 +0100)]
with the code:

            x=linspace(0,1,100)';
            y=x.^3;
            clf()
            plot(x,y);
            e=gce();p=e.children(1);//get the handle on the polyline
            t1=datatipCreate(p,80);
            datatipCreate(p,40);
            datatipRemove(p,1)
            datatipRemove(t1)

Change-Id: If0c92136d61b419bae4f98a1e1ad8879f8aef501

scilab/modules/gui/src/java/org/scilab/modules/gui/datatip/DatatipDelete.java

index 9d4409e..4d4a1dc 100644 (file)
@@ -69,7 +69,7 @@ public class DatatipDelete {
     * @param datatipUid Datatip unique identifier.
     * @param figureUid Figure unique identifier.
     */
-    public static void datatipRemoveProgramHandler(int datatipUid, Integer figureUid) {
+    public static void datatipRemoveProgramHandler(int datatipUid, int figureUid) {
         deleteDatatip(datatipUid);
     }