Skip to content

Commit

Permalink
Merge pull request #1691 from motlin/static-analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin authored Sep 2, 2024
2 parents 632181a + 1a7f0db commit 2091dff
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ default boolean isSame()
return this.getOne() == this.getTwo() && this.getOne() == this.getThree();
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ public void value(T each)
this.result = nextSum;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ public void value(T each)
this.result = nextSum;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ public void value(T each)
this.result += this.function.intValueOf(each);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ public void value(T each)
this.result += this.function.longValueOf(each);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ public interface Batch<T>

DoubleSumResultHolder sumOfDouble(DoubleFunction<? super T> function);
}

Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,3 @@ public static int calculateAdjustedStep(int from, int to, int stepBy)
return direction == 0 ? stepBy : direction * stepBy;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -430,4 +430,3 @@ protected Object writeReplace()
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ protected String getSerializedForm()
+ "A3EAfgACdAABQnEAfgADcQB+AAN3BAAAAAFxAH4AAng=";
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

/**
* Abstract JUnit test for {@link BooleanIterable}s.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

/**
* Abstract JUnit test for {@link MutableBooleanStack}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import org.eclipse.collections.impl.collection.mutable.primitive.AbstractMutableByteCollectionTestCase;
import org.eclipse.collections.impl.factory.primitive.ByteSets;
import org.eclipse.collections.impl.list.mutable.primitive.ByteArrayList;
import org.eclipse.collections.impl.map.mutable.primitive.CollisionGeneratorUtil;
import org.eclipse.collections.impl.set.mutable.UnifiedSet;
import org.eclipse.collections.impl.test.Verify;
import org.eclipse.collections.impl.tuple.primitive.PrimitiveTuples;
import org.eclipse.collections.impl.map.mutable.primitive.CollisionGeneratorUtil;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertArrayEquals;
Expand Down

0 comments on commit 2091dff

Please sign in to comment.