From: gmungoc Date: Thu, 6 Dec 2018 10:06:25 +0000 (+0000) Subject: JAL-1854 fix Checkstyle import violations X-Git-Tag: Release_2_11_1_0~99 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4a0a4a012676c3ebee341d667eab07ea60c5770e;p=jalview.git JAL-1854 fix Checkstyle import violations --- diff --git a/src/jalview/appletgui/AppletJmolBinding.java b/src/jalview/appletgui/AppletJmolBinding.java index 2f61b24..e5767b6 100644 --- a/src/jalview/appletgui/AppletJmolBinding.java +++ b/src/jalview/appletgui/AppletJmolBinding.java @@ -24,7 +24,6 @@ import jalview.api.AlignmentViewPanel; import jalview.datamodel.PDBEntry; import jalview.datamodel.SequenceI; import jalview.ext.jmol.JalviewJmolBinding; -import jalview.gui.IProgressIndicator; import jalview.io.DataSourceType; import jalview.structure.StructureSelectionManager; @@ -174,21 +173,12 @@ class AppletJmolBinding extends JalviewJmolBinding @Override public int[] resizeInnerPanel(String data) { - // TODO Auto-generated method stub return null; } @Override public Map getJSpecViewProperty(String arg0) { - // TODO Auto-generated method stub - return null; - } - - @Override - protected IProgressIndicator getIProgressIndicator() - { - // no progress indicators on the applet return null; } } diff --git a/src/jalview/appletgui/ExtJmol.java b/src/jalview/appletgui/ExtJmol.java index 89228d5..b0d3f7a 100644 --- a/src/jalview/appletgui/ExtJmol.java +++ b/src/jalview/appletgui/ExtJmol.java @@ -26,7 +26,6 @@ import jalview.api.SequenceRenderer; import jalview.datamodel.PDBEntry; import jalview.datamodel.SequenceI; import jalview.ext.jmol.JalviewJmolBinding; -import jalview.gui.IProgressIndicator; import jalview.io.DataSourceType; import java.awt.Container; @@ -66,18 +65,8 @@ public class ExtJmol extends JalviewJmolBinding } @Override - protected IProgressIndicator getIProgressIndicator() - { - // no progress indicators on applet (could access javascript for this) - return null; - } - - @Override public void updateColours(Object source) { - - // TODO Auto-generated method stub - } @Override @@ -190,7 +179,6 @@ public class ExtJmol extends JalviewJmolBinding protected JmolAppConsoleInterface createJmolConsole( Container consolePanel, String buttonsToShow) { - // TODO Auto-generated method stub return null; } @@ -205,14 +193,11 @@ public class ExtJmol extends JalviewJmolBinding @Override public void releaseReferences(Object svl) { - // TODO Auto-generated method stub - } @Override public Map getJSpecViewProperty(String arg0) { - // TODO Auto-generated method stub return null; } diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 8832278..a5b1110 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -1254,7 +1254,10 @@ public abstract class JalviewJmolBinding extends AAStructureBindingModel return chainNames; } - protected abstract IProgressIndicator getIProgressIndicator(); + protected IProgressIndicator getIProgressIndicator() + { + return null; + } public void notifyNewPickingModeMeasurement(int iatom, String strMeasure) {