Quick pass of FindBugs 'should be static inner class' fixes.

This commit is contained in:
Eric Banks 2012-08-08 14:42:06 -04:00
parent a0196c9f5b
commit 4c84cc9486
7 changed files with 7 additions and 7 deletions

View File

@ -574,7 +574,7 @@ public class ClipReads extends ReadWalker<ClipReads.ReadClipperWithData, ClipRea
}
}
public class ReadClipperWithData extends ReadClipper {
public static class ReadClipperWithData extends ReadClipper {
private ClippingData data;
public ReadClipperWithData(GATKSAMRecord read, List<SeqToClip> clipSeqs) {

View File

@ -103,7 +103,7 @@ public class HaplotypeScore extends InfoFieldAnnotation implements StandardAnnot
return map;
}
private class HaplotypeComparator implements Comparator<Haplotype> {
private static class HaplotypeComparator implements Comparator<Haplotype> {
public int compare(Haplotype a, Haplotype b) {
if (a.getQualitySum() < b.getQualitySum())

View File

@ -208,7 +208,7 @@ public class SNPGenotypeLikelihoodsCalculationModel extends GenotypeLikelihoodsC
return new ReadBackedPileupImpl( pileup.getLocation(), BAQedElements );
}
public class BAQedPileupElement extends PileupElement {
public static class BAQedPileupElement extends PileupElement {
public BAQedPileupElement( final PileupElement PE ) {
super(PE.getRead(), PE.getOffset(), PE.isDeletion(), PE.isBeforeDeletedBase(), PE.isAfterDeletedBase(), PE.isBeforeInsertion(), PE.isAfterInsertion(), PE.isNextToSoftClip());
}

View File

@ -124,7 +124,7 @@ public class ConstrainedMateFixingManager {
return first;
}
private class SAMRecordHashObject {
private static class SAMRecordHashObject {
public SAMRecord record;
public boolean wasModified;

View File

@ -332,7 +332,7 @@ public class RealignerTargetCreator extends RodWalker<RealignerTargetCreator.Eve
private enum EVENT_TYPE { POINT_EVENT, INDEL_EVENT, BOTH }
class EventPair {
static class EventPair {
public Event left, right;
public TreeSet<GenomeLoc> intervals = new TreeSet<GenomeLoc>();

View File

@ -329,7 +329,7 @@ public class SelectVariants extends RodWalker<Integer, Integer> implements TreeR
/* Private class used to store the intermediate variants in the integer random selection process */
private class RandomVariantStructure {
private static class RandomVariantStructure {
private VariantContext vc;
RandomVariantStructure(VariantContext vcP) {

View File

@ -538,7 +538,7 @@ public class ClippingOp {
return 0;
}
private class CigarShift {
private static class CigarShift {
private Cigar cigar;
private int shiftFromStart;
private int shiftFromEnd;