Skip to content

Commit 2448974

Browse files
committed
testing: fix spotbugs
1 parent c7e5099 commit 2448974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/thealgorithms/datastructures/stacks/StackOfLinkedListTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ public void testStackIntegrity() {
212212
public void testMixedDataTypes() {
213213
// If your stack supports Object types, test with different data types
214214

215-
stack.push(Integer.valueOf(1));
216-
stack.push(Integer.valueOf(2));
215+
stack.push(1);
216+
stack.push(2);
217217

218218
assertEquals(Integer.valueOf(2), stack.pop());
219219
assertEquals(Integer.valueOf(1), stack.pop());

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy