mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-23 08:48:50 +02:00
checkstyle suggestions
This commit is contained in:
@@ -61,7 +61,9 @@ public final class XmlUtils {
|
||||
/**
|
||||
* Constructs a validating secure SAX Parser.
|
||||
*
|
||||
* @param schemaStream One or more inputStreams with the schema(s) that the parser should be able to validate the XML against, one InputStream per schema
|
||||
* @param schemaStream One or more inputStreams with the schema(s) that the
|
||||
* parser should be able to validate the XML against, one InputStream per
|
||||
* schema
|
||||
* @return a SAX Parser
|
||||
* @throws ParserConfigurationException is thrown if there is a parser
|
||||
* configuration exception
|
||||
@@ -88,13 +90,13 @@ public final class XmlUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts an attribute value representing an xsd:boolean value to a boolean using
|
||||
* the rules as stated in the XML specification
|
||||
* Converts an attribute value representing an xsd:boolean value to a
|
||||
* boolean using the rules as stated in the XML specification.
|
||||
*
|
||||
* @param lexicalXSDBoolean The string-value of the boolean
|
||||
* @return the boolean value represented by {@code lexicalXSDBoolean}
|
||||
* @throws IllegalArgumentException When {@code lexicalXSDBoolean} does
|
||||
* fit the lexical space of the XSD boolean datatype
|
||||
* @throws IllegalArgumentException When {@code lexicalXSDBoolean} does fit
|
||||
* the lexical space of the XSD boolean datatype
|
||||
*/
|
||||
public static boolean parseBoolean(String lexicalXSDBoolean) {
|
||||
final boolean result;
|
||||
|
||||
Reference in New Issue
Block a user