Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: lbergelson <[email protected]>
  • Loading branch information
pshapiro4broad and lbergelson authored Nov 14, 2018
1 parent 9ae2510 commit c198d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/htsjdk/samtools/SAMTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public enum SAMTag {
U2,
UQ;

private final short shortValue = SAMTag.makeBinaryTag(this.name());;
private final short shortValue = SAMTag.makeBinaryTag(name());

/**
* Convert from String representation of tag name to short representation.
Expand All @@ -126,7 +126,7 @@ static short makeBinaryTag(String tag) {
*
* @return the binary representation of this tag name
*/
public short getBinaryTag(){
public short getBinaryTag() {
return this.shortValue;
}
}

0 comments on commit c198d9f

Please sign in to comment.