Skip to content

Commit

Permalink
Suppress more deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Jun 28, 2022
1 parent 9b044c6 commit 866d91e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ private void checkSequenceDictionaryCompatibility(final SAMSequenceDictionary re
}
}

@SuppressWarnings("deprecation")
private PrintWriter openSitesOutputWriter(final String sitesOutput) {
return sitesOutput == null ? new PrintWriter(new NullOutputStream())
: new PrintWriter(BucketUtils.createFile(sitesOutput));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

public class GATKAnnotationPluginDescriptorUnitTest extends GATKBaseTest {
// null print stream for the tests
@SuppressWarnings("deprecation")
private static final PrintStream nullMessageStream = new PrintStream(new NullOutputStream());

//======================================================================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
public class GATKReadFilterPluginDescriptorTest extends GATKBaseTest {

// null print stream for the tests
@SuppressWarnings("deprecation")
private static final PrintStream nullMessageStream = new PrintStream(new NullOutputStream());

@DataProvider(name = "defaultFiltersForAllowedValues")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ public static VCFHeader getCompleteHeader() {
/**
* Uses the AnnotationsPlugin interface to instantiate and return a list of every annotation currently visible to the gatk
*/
@SuppressWarnings("deprecation")
public static List<Annotation> getAllAnnotations() {
CommandLineParser clp = new CommandLineArgumentParser(
new Object(),
Expand Down

0 comments on commit 866d91e

Please sign in to comment.