From 130d959688121244b2e56df4713ef7ceeabe74c9 Mon Sep 17 00:00:00 2001 From: Wouter Zelle Date: Thu, 30 Nov 2006 20:59:35 +0000 Subject: [PATCH] cleanup: reduced scope git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4846 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/RuleSetFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd/src/net/sourceforge/pmd/RuleSetFactory.java b/pmd/src/net/sourceforge/pmd/RuleSetFactory.java index 34fa104b7d..048e0ffb77 100644 --- a/pmd/src/net/sourceforge/pmd/RuleSetFactory.java +++ b/pmd/src/net/sourceforge/pmd/RuleSetFactory.java @@ -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();