Project: JDT
Bug 283851 Very Minor cleanup in JUnitLaunchConfigurationTab
Reported: 2009-07-17 10:03:32 | Status: resolved fixed

Build ID: M20090211-1700 Steps To Reproduce: private void setTestMethodLabel(String testMethodName) { if (!"".equals(testMethodName)) { fTestMethodLabel.setText(JUnitMessages.JUnitLaunchConfigurationTab_label_method+fOriginalTestMethodName); } else { fTestMethodLabel.setText(""); } } This method is only used once, accepts the test method name, and yet still uses the class variable. Minor nit, but you should consistently use the parameter. More information:

Files changed in fix:
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/launcher/JUnitLaunchConfigurationTab.java