forked from phoedos/pmd
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:
@ -147,7 +147,7 @@ public class RuleSetFactory {
|
|||||||
* @return the new ruleset
|
* @return the new ruleset
|
||||||
* @throws RuleSetNotFoundException
|
* @throws RuleSetNotFoundException
|
||||||
*/
|
*/
|
||||||
public RuleSet createSingleRuleSet(String ruleSetFileName, ClassLoader classLoader)
|
private RuleSet createSingleRuleSet(String ruleSetFileName, ClassLoader classLoader)
|
||||||
throws RuleSetNotFoundException {
|
throws RuleSetNotFoundException {
|
||||||
return createRuleSet(tryToGetStreamTo(ruleSetFileName, classLoader), classLoader);
|
return createRuleSet(tryToGetStreamTo(ruleSetFileName, classLoader), classLoader);
|
||||||
}
|
}
|
||||||
@ -183,7 +183,7 @@ public class RuleSetFactory {
|
|||||||
* @param classLoader a class loader used to load rule classes
|
* @param classLoader a class loader used to load rule classes
|
||||||
* @return a new ruleset
|
* @return a new ruleset
|
||||||
*/
|
*/
|
||||||
public RuleSet createRuleSet(InputStream inputStream, ClassLoader classLoader) {
|
private RuleSet createRuleSet(InputStream inputStream, ClassLoader classLoader) {
|
||||||
try {
|
try {
|
||||||
this.classLoader = classLoader;
|
this.classLoader = classLoader;
|
||||||
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||||
|
Reference in New Issue
Block a user