Fixed the checkstyle errors
This commit is contained in:
parent
8dd310c982
commit
9d4233b0b7
|
|
@ -58,18 +58,19 @@ class ConfigurationLoader
|
|||
private final XMLReader mParser;
|
||||
/** the loaded configurations **/
|
||||
private Stack mConfigStack = new Stack();
|
||||
/** the Configuration that is beeing built */
|
||||
/** the Configuration that is being built */
|
||||
private Configuration mConfiguration = null;
|
||||
|
||||
/**
|
||||
* Creates a new <code>ConfigurationLoader</code> instance.
|
||||
* @param aOverrideProps overriding properties
|
||||
* @throws ParserConfigurationException if an error occurs
|
||||
* @throws SAXException if an error occurs
|
||||
*/
|
||||
private ConfigurationLoader(Properties aOverrideProps)
|
||||
throws ParserConfigurationException, SAXException
|
||||
{
|
||||
mOverrideProps = aOverrideProps;
|
||||
mOverrideProps = aOverrideProps;
|
||||
final SAXParserFactory factory = SAXParserFactory.newInstance();
|
||||
factory.setValidating(true);
|
||||
mParser = factory.newSAXParser().getXMLReader();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,21 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// checkstyle: Checks Java source code for adherence to a set of rules.
|
||||
// Copyright (C) 2001-2002 Oliver Burn
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
package com.puppycrawl.tools.checkstyle;
|
||||
|
||||
import org.xml.sax.ErrorHandler;
|
||||
|
|
@ -24,7 +42,7 @@ class HardErrorHandler
|
|||
private HardErrorHandler()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/** @see org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException) */
|
||||
public void warning(SAXParseException aEx) throws SAXException
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,21 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// checkstyle: Checks Java source code for adherence to a set of rules.
|
||||
// Copyright (C) 2001-2002 Oliver Burn
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
package com.puppycrawl.tools.checkstyle;
|
||||
|
||||
import com.puppycrawl.tools.checkstyle.api.CheckstyleException;
|
||||
|
|
|
|||
|
|
@ -9,8 +9,9 @@
|
|||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MainSee the GNU
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
|
|
|||
Loading…
Reference in New Issue