Skip to content

Commit

Permalink
Reformat in line with the Google Java Style Guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Feb 5, 2018
1 parent e4224ab commit f910f9d
Show file tree
Hide file tree
Showing 109 changed files with 11,426 additions and 11,577 deletions.
21 changes: 8 additions & 13 deletions src/main/java/htsjdk/samtools/LinearBAMIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,16 @@
// IN THE SOFTWARE.
package htsjdk.samtools;

import htsjdk.samtools.CachingBAMFileIndex;
import htsjdk.samtools.LinearIndex;
import htsjdk.samtools.SAMSequenceDictionary;
import htsjdk.samtools.seekablestream.SeekableStream;

/**
* The htsjdk APIs for accessing the linear BAM index are private...
*/
/** The htsjdk APIs for accessing the linear BAM index are private... */
public class LinearBAMIndex extends CachingBAMFileIndex {

public LinearBAMIndex(SeekableStream stream, SAMSequenceDictionary dict) {
super(stream, dict);
}
public LinearIndex getLinearIndex(int idx) {
return getQueryResults(idx).getLinearIndex();
}
public LinearBAMIndex(SeekableStream stream, SAMSequenceDictionary dict) {
super(stream, dict);
}

public LinearIndex getLinearIndex(int idx) {
return getQueryResults(idx).getLinearIndex();
}
}
4 changes: 2 additions & 2 deletions src/main/java/htsjdk/samtools/SAMRecordHelper.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package htsjdk.samtools;

/**
* This class is required in order to access the protected
* {@link SAMRecord#eagerDecode()} method in HTSJDK.
* This class is required in order to access the protected {@link SAMRecord#eagerDecode()} method in
* HTSJDK.
*/
public class SAMRecordHelper {
public static void eagerDecode(SAMRecord record) {
Expand Down
Loading

0 comments on commit f910f9d

Please sign in to comment.