Skip to content

Commit e40ea24

Browse files
slarsewoutersmeenk
authored andcommitted
fix: Fix 1 violation of Sonar rule 2142 (INRIA#3852)
1 parent df93577 commit e40ea24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/spoon/support/compiler/SpoonPom.java

+1
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ public static String guessMavenHome() {
546546
} catch (IOException e) {
547547
throw new SpoonException("Maven home detection has failed.");
548548
} catch (InterruptedException e) {
549+
Thread.currentThread().interrupt();
549550
throw new SpoonException("Maven home detection was interrupted.");
550551
}
551552
return mvnHome;

0 commit comments

Comments
 (0)