Skip to content

Commit

Permalink
Change name of interface from IntervalFileFeature to NamedFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
rickymagner committed Aug 9, 2023
1 parent 1952da0 commit d94c9d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/htsjdk/samtools/util/Interval.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package htsjdk.samtools.util;

import htsjdk.samtools.SAMException;
import htsjdk.tribble.IntervalFileFeature;
import htsjdk.tribble.NamedFeature;
import htsjdk.tribble.annotation.Strand;

import java.util.Collection;
Expand All @@ -34,7 +34,7 @@
*
* @author Tim Fennell
*/
public class Interval implements Comparable<Interval>, Cloneable, IntervalFileFeature {
public class Interval implements Comparable<Interval>, Cloneable, NamedFeature {
private final boolean negativeStrand;
private final String name;
private final String contig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
* An interface for features provided via an interval file, e.g. bed or interval_list.
* Provides a common interface for accessing the name column for both of these file types.
*/
public interface IntervalFileFeature extends Feature {
public interface NamedFeature extends Feature {
String getName();
}
4 changes: 2 additions & 2 deletions src/main/java/htsjdk/tribble/bed/BEDFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
package htsjdk.tribble.bed;

import htsjdk.tribble.IntervalFileFeature;
import htsjdk.tribble.NamedFeature;
import htsjdk.tribble.annotation.Strand;

import java.awt.*;
Expand All @@ -36,7 +36,7 @@
* This is different than the 0-based representation in a BED file. This conversion is handled by {@link BEDCodec}.
* Anyone writing a bed file should be aware of this difference.
*/
public interface BEDFeature extends IntervalFileFeature {
public interface BEDFeature extends NamedFeature {
Strand getStrand();

String getType();
Expand Down

0 comments on commit d94c9d2

Please sign in to comment.