cleanup: reduced scope

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4846 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Wouter Zelle
2006-11-30 20:59:35 +00:00
parent adcc5741b3
commit 130d959688

View File

@ -147,7 +147,7 @@ public class RuleSetFactory {
* @return the new ruleset
* @throws RuleSetNotFoundException
*/
public RuleSet createSingleRuleSet(String ruleSetFileName, ClassLoader classLoader)
private RuleSet createSingleRuleSet(String ruleSetFileName, ClassLoader classLoader)
throws RuleSetNotFoundException {
return createRuleSet(tryToGetStreamTo(ruleSetFileName, classLoader), classLoader);
}
@ -183,7 +183,7 @@ public class RuleSetFactory {
* @param classLoader a class loader used to load rule classes
* @return a new ruleset
*/
public RuleSet createRuleSet(InputStream inputStream, ClassLoader classLoader) {
private RuleSet createRuleSet(InputStream inputStream, ClassLoader classLoader) {
try {
this.classLoader = classLoader;
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();