From a104f3e5db2d0657ff8f20fa71dc6190585a0bc5 Mon Sep 17 00:00:00 2001 From: dev-mlb <19797865+dev-mlb@users.noreply.github.com> Date: Thu, 30 May 2024 05:30:48 -0400 Subject: [PATCH] errorprone :: StaticQualifiedUsingExpression (#792) --- src/test/java/emissary/util/ShortNameComparatorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/emissary/util/ShortNameComparatorTest.java b/src/test/java/emissary/util/ShortNameComparatorTest.java index 95826fa7a2..3178b61d68 100644 --- a/src/test/java/emissary/util/ShortNameComparatorTest.java +++ b/src/test/java/emissary/util/ShortNameComparatorTest.java @@ -40,7 +40,7 @@ void testNonsenseNames() { private void fillList(final List l) { l.add(DataObjectFactory.getInstance(this.nobytes, this.ba + "1")); l.add(DataObjectFactory.getInstance(this.nobytes, this.ba + "3")); - l.add(DataObjectFactory.getInstance(this.nobytes, this.b)); + l.add(DataObjectFactory.getInstance(this.nobytes, b)); l.add(DataObjectFactory.getInstance(this.nobytes, this.ba + "3" + Family.getSep(2))); l.add(DataObjectFactory.getInstance(this.nobytes, this.ba + "3" + Family.getSep(1))); l.add(DataObjectFactory.getInstance(this.nobytes, this.ba + "2")); @@ -48,7 +48,7 @@ private void fillList(final List l) { } private void checkList(final List l) { - assertEquals(this.b, l.get(0).shortName(), "Ordering of sort"); + assertEquals(b, l.get(0).shortName(), "Ordering of sort"); assertEquals(this.ba + "1", l.get(1).shortName(), "Ordering of sort"); assertEquals(this.ba + "2", l.get(2).shortName(), "Ordering of sort"); assertEquals(this.ba + "3", l.get(3).shortName(), "Ordering of sort");