Skip to content
Snippets Groups Projects
Commit 5a3b3bb0 authored by tcarver's avatar tcarver
Browse files

remove unused constructor

parent 30cf4036
Branches
Tags
No related merge requests found
......@@ -57,13 +57,6 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen
private FeatureVector selectedFeatures;
private JCheckBox showFailedFeatures = new JCheckBox("Show only failed features", true);
private boolean inAutoFix = false;
private String seqName;
public ValidateViewer(final EntryGroup entryGrp,
final FeatureVector selectedFeatures)
{
this(entryGrp, selectedFeatures, null);
}
/**
* Viewer to display validation results
......@@ -71,15 +64,11 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen
* @param features
*/
public ValidateViewer(final EntryGroup entryGrp,
final FeatureVector selectedFeatures,
final String seqName)
final FeatureVector selectedFeatures)
{
super("Validation Report :: "+ (seqName!=null? seqName:""), false, false, true);
super("Validation Report :: ", false, false, true);
this.entryGrp = entryGrp;
this.selectedFeatures = selectedFeatures;
this.seqName = seqName;
//final boolean allFeatures = (selectedFeatures == null);
update();
setVisible(true);
......@@ -219,9 +208,7 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen
this, showFailedFeatures.isSelected()))
nfail++;
setTitle("Validation Report :: "+
(seqName!=null&&!seqName.equals("")?
seqName+" :: " : "")+features.size()+
setTitle("Validation Report :: "+ features.size()+
" feature(s) Pass: "+(features.size()-nfail)+" Failed: "+nfail);
}
......@@ -264,7 +251,6 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen
if(gene != null && !gene.getGene().isReadOnly() && GeneUtils.isBoundaryOK(gene) > 0)
{
//updatedFeatures.add(feature);
GeneUtils.checkGeneBoundary(gene, false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment