Some tests convert classpath resources to File via URL#getFile(), which returns URL-encoded paths (e.g. %20 for spaces). This can break tests (or cause them to be silently skipped) when the workspace path contains spaces.
Use URL#toURI() for URL-to-File conversion in tests and assert resource existence so tests execute reliably across platforms.
Signed-off-by: shbhmexe <shubhushukla586@gmail.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
* Replace if-cascades with switch
* Reference to empty collection field replaced with method call (Java 5)
* Anonymous type replaced with lambda (Java 8)
* Replaced lambda with method reference (Java 8)
* Statement lambda replaced with expression lambda (Java 8)
* Loop replaced with 'Collection.removeIf()' (Java 8)
* Null check replaced with method call (Java 9)
* Statement replaced with enhanced 'switch' (Java 14)
* Use text blocks (Java 15)
* Use pattern variable (Java 16)
* Replace if-cascades with switch
* Use 'Comparator' combinator
* Null check replaced with method call (Java 9)
* Use pattern variable (Java 16)
* Use record pattern (Java 21)
* Use SequencedCollection method (Java 21)
* Replaced lambda with method reference (Java 8)
* Cleanup unused imports
* Cleanup migrations (move comments, formatting, spotbugs...)
* Remove duplicate comment
Resolve GitHub Copilot review comment
* Remove blank line that may confuse Copilot
* Inject comments into source line
Attempt to satisfy GitHub Copilot
Complains about unreachable code
* Simplify with return value of switch statement
* Use pattern matching instanceof in one more case
* Don't lose the NetBeans comment that was there before
* Remove TODO for Java 21 pattern use, implemented
* Align comments with Unicode character they describe
---------
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
* Adding first batch of translated .properties files in Swedish
* Added new Swedish .properties files
* Updated existing Swedish .properties files
* Updated existing Swedish .properties files
* Added new Swedish .properties files
* Added more strings and changed some translated terms
* Made changes and added strings in existing files
* Added new Swedish .properties files
* Made changes and added strings in existing files
* Made changes and added strings in existing files
* Added new Swedish .properties files
* Made minor changes in existing files
* Rephrased some lines in existing files
* Added new Swedish .properties and .html files
* Added missing strings and rephrased existing ones in existing files
* Added missing strings and rephrased existing ones in existing files
* Added new Swedish .properties and .html files
* Added missing strings and rephrased existing ones in existing files
* Removed newlines before punctuation marks i html files to avoid any accidental spaces
* Rephrased some strings and made some terms consistant in existing files
* Updated various existing files
* Fixed filename typo
* Added missing punctuation, replaced copy-pasted licenses to avoid miscrediting translators of other languages
* Added missing string
* Reverted one string to keep consistency
* Removed misspelled duplicate file
* Formatted affected HTML files using Prettier
* Ran some linting scripts to format HTML files
* Added a new HTML file
---------
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
* Remove usages of StringUtils#containsIgnoreCase
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#removeStart StringUtils#removeEnd
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#defaultString
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#defaultIfBlank
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#isAlphanumeric
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils.EMPTY
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#split
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#startsWithIgnoreCase
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#countMatches
Signed-off-by: Bob Du <i@bobdu.cc>
* Remove usages of StringUtils#endsWithAny
Signed-off-by: Bob Du <i@bobdu.cc>
* fix spotbugs warning
Signed-off-by: Bob Du <i@bobdu.cc>
* Use Objects.toString
Signed-off-by: Bob Du <i@bobdu.cc>
* revert unrelated change
Signed-off-by: Bob Du <i@bobdu.cc>
---------
Signed-off-by: Bob Du <i@bobdu.cc>
* Default CLI mode to `-webSocket`
* Recommend `-http` only if needed
* Simplifying `CLIActionTest`
* Avoid an extra space in proposed command if not using `-http`