Skip to content

Commit a12ed17

Browse files
Don't need to check for SearchService; it falls back to a noop now
1 parent 0e7e97e commit a12ed17

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,7 @@ public Set<ExperimentRunType> getExperimentRunTypes(@Nullable Container containe
494494

495495
ExperimentService.get().registerExperimentDataHandler(new HtmlExpDataHandler());
496496

497-
SearchService ss = SearchService.get();
498-
499-
if (null != ss)
500-
ss.addDocumentParser(new SequenceNoOpDocumentParser());
497+
SearchService.get().addDocumentParser(new SequenceNoOpDocumentParser());
501498
}
502499

503500
@Override

0 commit comments

Comments
 (0)