Skip to content
Snippets Groups Projects
Commit 4313f386 authored by Ferdie Reijnen's avatar Ferdie Reijnen
Browse files

#259 Annotated items that are going to be removed.

parent c9fa28ff
No related branches found
No related tags found
2 merge requests!443#420 develop to master for v0.8-RC1,!421#259 Upgrade to Java 17
Pipeline #12785 failed
...@@ -393,7 +393,7 @@ public class CifSimulatorMathTest { ...@@ -393,7 +393,7 @@ public class CifSimulatorMathTest {
assertEquals(false, CifSimulatorMath.empty(d23)); assertEquals(false, CifSimulatorMath.empty(d23));
} }
@SuppressWarnings("deprecation") @SuppressWarnings("removal")
@Test @Test
public void testEqualBool() { public void testEqualBool() {
assertEquals(true, CifSimulatorMath.equal(true, true)); assertEquals(true, CifSimulatorMath.equal(true, true));
...@@ -439,7 +439,7 @@ public class CifSimulatorMathTest { ...@@ -439,7 +439,7 @@ public class CifSimulatorMathTest {
assertEquals(true, CifSimulatorMath.equal(t4, t3)); assertEquals(true, CifSimulatorMath.equal(t4, t3));
} }
@SuppressWarnings("deprecation") @SuppressWarnings("removal")
@Test @Test
public void testEqualInt() { public void testEqualInt() {
assertEquals(true, CifSimulatorMath.equal(-0, 0)); assertEquals(true, CifSimulatorMath.equal(-0, 0));
...@@ -490,7 +490,7 @@ public class CifSimulatorMathTest { ...@@ -490,7 +490,7 @@ public class CifSimulatorMathTest {
assertEquals(true, CifSimulatorMath.equal(m, l)); assertEquals(true, CifSimulatorMath.equal(m, l));
} }
@SuppressWarnings("deprecation") @SuppressWarnings("removal")
@Test @Test
public void testEqualReal() { public void testEqualReal() {
assertEquals(true, CifSimulatorMath.equal(-0.0, 0.0)); assertEquals(true, CifSimulatorMath.equal(-0.0, 0.0));
......
...@@ -565,6 +565,7 @@ public final class CrashReport { ...@@ -565,6 +565,7 @@ public final class CrashReport {
* @param s The {@link AppStream} to print the details to. * @param s The {@link AppStream} to print the details to.
* @param indent The indentation level to use. * @param indent The indentation level to use.
*/ */
@SuppressWarnings("removal")
private static void printThreadGroups(ThreadGroup grp, AppStream s, int indent) { private static void printThreadGroups(ThreadGroup grp, AppStream s, int indent) {
s.println(fmt("%sThreadGroup[name=%s, maxpi=%d, daemon=%s, destroyed=%s]", Strings.spaces(indent), s.println(fmt("%sThreadGroup[name=%s, maxpi=%d, daemon=%s, destroyed=%s]", Strings.spaces(indent),
grp.getName(), grp.getMaxPriority(), grp.isDaemon(), grp.isDestroyed())); grp.getName(), grp.getMaxPriority(), grp.isDaemon(), grp.isDestroyed()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment