Example | |
|
Solution | |
In the example class 'Rule1' has been imported but it is contained by the package 'com.ibm.xtools.analysis.codereview.java.rules.conventions'. So, importing the 'Rule1' class is redundant. But class 'Rule2' is not present in same the package as the current class.So, this is a valid import statement
|