How to find dead code in following java code using PMD . or by using xpath expression.
public class IdentifyProblemsInCode {
public void howToDoInJava_method3() {
System.out.println("how to do");
while (true) {
return;
}
System.out.println("in java");
}
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to find dead code in following java code using PMD . or by using xpath expression.
public class IdentifyProblemsInCode {
public void howToDoInJava_method3() {
System.out.println("how to do");
while (true) {
return;
}
System.out.println("in java");
}
}