typos & minor optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6673 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -264,7 +264,7 @@ public class PMDPlugin extends AbstractUIPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply the log preferencs
|
* Apply the log preferences
|
||||||
*/
|
*/
|
||||||
public void applyLogPreferences(IPreferences preferences) {
|
public void applyLogPreferences(IPreferences preferences) {
|
||||||
Logger log = Logger.getLogger(ROOT_LOG_ID);
|
Logger log = Logger.getLogger(ROOT_LOG_ID);
|
||||||
|
@ -129,15 +129,14 @@ public class PMDNature implements IProjectNature {
|
|||||||
* @param commands a command list
|
* @param commands a command list
|
||||||
*/
|
*/
|
||||||
private boolean pmdBuilderFound(ICommand[] commands) {
|
private boolean pmdBuilderFound(ICommand[] commands) {
|
||||||
boolean flFound = false;
|
|
||||||
for (int i = 0; i < commands.length; i++) {
|
for (int i = 0; i < commands.length; i++) {
|
||||||
if (commands[i].getBuilderName().equals(PMDBuilder.PMD_BUILDER)) {
|
if (commands[i].getBuilderName().equals(PMDBuilder.PMD_BUILDER)) {
|
||||||
flFound = true;
|
return true;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return flFound;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user