Skip to content

Commit e705d25

Browse files
committed
appendNavTrail() -> addNavTrail()
1 parent 8c698b8 commit e705d25

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisController.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,10 @@ public ModelAndView getView(FastqcForm form, BindException errors) throws Except
320320
}
321321
}
322322

323-
public NavTree appendNavTrail(NavTree root)
323+
@Override
324+
public void addNavTrail(NavTree root)
324325
{
325326
root.addChild("FastQC Report"); //necessary to set page title, it seems
326-
return root;
327327
}
328328
}
329329

@@ -335,9 +335,10 @@ public SequenceAnalysisAction()
335335
super("views/sequenceAnalysis.html");
336336
}
337337

338-
public NavTree appendNavTrail(NavTree tree)
338+
@Override
339+
public void addNavTrail(NavTree tree)
339340
{
340-
return tree.addChild("Sequence Analysis");
341+
tree.addChild("Sequence Analysis");
341342
}
342343
}
343344

@@ -350,9 +351,9 @@ public VariantProcessingAction()
350351
}
351352

352353
@Override
353-
public NavTree appendNavTrail(NavTree tree)
354+
public void addNavTrail(NavTree tree)
354355
{
355-
return tree.addChild("1".equals(getViewContext().getActionURL().getParameter("showGenotypeGVCFs")) ? "Genotype gVCFs" : "Filter/Process Variants");
356+
tree.addChild("1".equals(getViewContext().getActionURL().getParameter("showGenotypeGVCFs")) ? "Genotype gVCFs" : "Filter/Process Variants");
356357
}
357358
}
358359

@@ -365,9 +366,9 @@ public AlignmentImportAction()
365366
}
366367

367368
@Override
368-
public NavTree appendNavTrail(NavTree tree)
369+
public void addNavTrail(NavTree tree)
369370
{
370-
return tree.addChild("Import Alignments");
371+
tree.addChild("Import Alignments");
371372
}
372373
}
373374

@@ -417,9 +418,9 @@ public AlignmentAnalysisAction()
417418
super("views/alignmentAnalysis.html");
418419
}
419420

420-
public NavTree appendNavTrail(NavTree tree)
421+
public void addNavTrail(NavTree tree)
421422
{
422-
return tree.addChild("Analyze Alignments");
423+
tree.addChild("Analyze Alignments");
423424
}
424425
}
425426

blast/src/org/labkey/blast/BLASTController.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public BLASTController()
8888
@RequiresPermission(AdminPermission.class)
8989
public class GetSettingsAction extends ReadOnlyApiAction<Object>
9090
{
91+
@Override
9192
public ApiResponse execute(Object form, BindException errors)
9293
{
9394
Map<String, Object> resultProperties = new HashMap<>();
@@ -208,7 +209,6 @@ public void validateCommand(RunBlastForm form, Errors errors)
208209

209210
protected File getTargetFile(String filename) throws IOException
210211
{
211-
212212
AssayFileWriter writer = new AssayFileWriter();
213213
try
214214
{
@@ -547,9 +547,8 @@ public ModelAndView getView(BlastResultForm form, BindException errors) throws E
547547
}
548548

549549
@Override
550-
public NavTree appendNavTrail(NavTree root)
550+
public void addNavTrail(NavTree root)
551551
{
552-
return root;
553552
}
554553
}
555554

jbrowse/src/org/labkey/jbrowse/JBrowseController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,9 @@ public ModelAndView getView(BrowserForm form, BindException errors) throws Excep
415415
}
416416

417417
@Override
418-
public NavTree appendNavTrail(NavTree root)
418+
public void addNavTrail(NavTree root)
419419
{
420-
return root.addChild(_title);
420+
root.addChild(_title);
421421
}
422422
}
423423

0 commit comments

Comments
 (0)