JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / javascript / MouseOverListener.java
index 9d0279b..16b57a4 100644 (file)
@@ -26,8 +26,8 @@ import jalview.datamodel.SequenceI;
 import jalview.structure.VamsasListener;
 import jalview.structure.VamsasSource;
 
-public class MouseOverListener extends JSFunctionExec implements
-        VamsasListener, JsCallBack
+public class MouseOverListener extends JSFunctionExec
+        implements VamsasListener, JsCallBack
 {
   AlignFrame _af;
 
@@ -44,7 +44,7 @@ public class MouseOverListener extends JSFunctionExec implements
     if (seq != last || i != index)
     {
       // this should really be a trace message.
-      // Cache.log.debug("Mouse over " + v.getId() + " bound to "
+      // Cache.debug("Mouse over " + v.getId() + " bound to "
       // + seq + " at " + index);
       last = seq;
       i = index;
@@ -64,16 +64,15 @@ public class MouseOverListener extends JSFunctionExec implements
           // function, then only events from that alignFrame are sent to that
           // function
         }
-        executeJavascriptFunction(
-                _listener,
+        executeJavascriptFunction(_listener,
                 new Object[]
                 { src, seq.getDisplayId(false), "" + (1 + i),
                     "" + seq.findPosition(i) });
       } catch (Exception ex)
       {
 
-        System.err
-                .println("JalviewLite javascript error: Couldn't send mouseOver with handler '"
+        System.err.println(
+                "JalviewLite javascript error: Couldn't send mouseOver with handler '"
                         + _listener + "'");
         if (ex instanceof netscape.javascript.JSException)
         {