refactor: add JavaDocs and improve readability in InfixToPrefix (#6363)

* refactor: add JavaDocs and improve readability in InfixToPrefix

* formatting: remove redundant newline

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
This commit is contained in:
Oleksandr Klymenko
2025-07-12 09:47:49 +03:00
committed by GitHub
parent acb4753d65
commit 7590d8234f
2 changed files with 66 additions and 42 deletions

View File

@@ -13,7 +13,7 @@ public class InfixToPrefixTest {
@ParameterizedTest
@MethodSource("provideValidExpressions")
void testValidExpressions(String infix, String expectedPrefix) throws Exception {
void testValidExpressions(String infix, String expectedPrefix) {
assertEquals(expectedPrefix, InfixToPrefix.infix2Prefix(infix));
}