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:
Brian Remedios
2008-10-25 22:37:59 +00:00
parent eb534f3c7b
commit a91dad5f37
2 changed files with 4 additions and 5 deletions

View File

@ -264,7 +264,7 @@ public class PMDPlugin extends AbstractUIPlugin {
}
/**
* Apply the log preferencs
* Apply the log preferences
*/
public void applyLogPreferences(IPreferences preferences) {
Logger log = Logger.getLogger(ROOT_LOG_ID);

View File

@ -129,15 +129,14 @@ public class PMDNature implements IProjectNature {
* @param commands a command list
*/
private boolean pmdBuilderFound(ICommand[] commands) {
boolean flFound = false;
for (int i = 0; i < commands.length; i++) {
if (commands[i].getBuilderName().equals(PMDBuilder.PMD_BUILDER)) {
flFound = true;
break;
return true;
}
}
return flFound;
return false;
}
}