JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / javascript / MouseOverListener.java
index 2b228da..16b57a4 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -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;
@@ -65,13 +65,14 @@ public class MouseOverListener extends JSFunctionExec implements
           // function
         }
         executeJavascriptFunction(_listener,
-                new Object[] { src, seq.getDisplayId(false), "" + (1 + i),
+                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)
         {