From c198d9fa26bcfcfd1f865980048b7e1e3697ae63 Mon Sep 17 00:00:00 2001 From: Phil Shapiro Date: Wed, 14 Nov 2018 13:05:04 -0500 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: lbergelson --- src/main/java/htsjdk/samtools/SAMTag.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/htsjdk/samtools/SAMTag.java b/src/main/java/htsjdk/samtools/SAMTag.java index f5f328042a..1b02607b9d 100644 --- a/src/main/java/htsjdk/samtools/SAMTag.java +++ b/src/main/java/htsjdk/samtools/SAMTag.java @@ -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. @@ -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; } }