Skip to content

Commit

Permalink
Fix error-prone violation in trino-server-rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Mar 26, 2024
1 parent 2572a24 commit 7f636db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ public void testInstallUninstall()
{
// Release names as in the https://api.adoptium.net/q/swagger-ui/#/Release%20Info/getReleaseNames
testInstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21", "21");
testUninstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21", "21");
testUninstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21");

testInstall("jdk-22+36", "/usr/lib/jvm/temurin-22", "22");
testUninstall("jdk-22+36", "/usr/lib/jvm/temurin-22", "22");
testUninstall("jdk-22+36", "/usr/lib/jvm/temurin-22");
}

private void testInstall(String temurinReleaseName, String javaHome, String expectedJavaVersion)
Expand Down Expand Up @@ -121,7 +121,7 @@ private void testInstall(String temurinReleaseName, String javaHome, String expe
}


private void testUninstall(String temurinReleaseName, String javaHome, String expectedJavaVersion)
private void testUninstall(String temurinReleaseName, String javaHome)
throws Exception
{
String rpm = "/" + new File(rpmHostPath).getName();
Expand Down

0 comments on commit 7f636db

Please sign in to comment.