< prev index next >

modules/graphics/src/test/java/test/com/sun/javafx/pgstub/StubToolkit.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -37,11 +37,10 @@
 import com.sun.javafx.geom.transform.BaseTransform;
 import com.sun.javafx.menu.MenuBase;
 import com.sun.javafx.perf.PerformanceTracker;
 import com.sun.javafx.runtime.async.AsyncOperation;
 import com.sun.javafx.runtime.async.AsyncOperationListener;
-import com.sun.javafx.scene.text.HitInfo;
 import com.sun.javafx.scene.text.TextLayoutFactory;
 import com.sun.javafx.tk.*;
 import com.sun.prism.BasicStroke;
 import com.sun.scenario.DelayedRunnable;
 import com.sun.scenario.animation.AbstractMasterTimer;

@@ -634,15 +633,10 @@
         // something here, doesn't matter what.
         return new PathElement[0];
     }
 
     @Override
-    public HitInfo convertHitInfoToFX(Object hit) {
-        return (HitInfo) hit;
-    }
-
-    @Override
     public Filterable toFilterable(Image img) {
         return StubFilterable.create((StubPlatformImage)img.impl_getPlatformImage());
     }
 
     @Override
< prev index next >