[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: [jira] [Created] (XMLSCHEMA-44) Make XmlSchemaCollection get* APIs null-safe.
From: "Gary Gregory (JIRA)" <jira () apache ! org>
Date: 2017-01-27 20:54:25
Message-ID: JIRA.13038528.1485550448000.21702.1485550465024 () Atlassian ! JIRA
[Download RAW message or body]
Gary Gregory created XMLSCHEMA-44:
-------------------------------------
Summary: Make XmlSchemaCollection get* APIs null-safe.
Key: XMLSCHEMA-44
URL: https://issues.apache.org/jira/browse/XMLSCHEMA-44
Project: XmlSchema
Issue Type: Bug
Affects Versions: 2.2.1
Reporter: Gary Gregory
Make XmlSchemaCollection get* APIs null-safe.
The following methods in XmlSchemaCollection throw an NPE when given null as input.
This patch adds null guard clauses to each method.
- org.apache.ws.commons.schema.XmlSchemaCollection.getAttributeByQName(QName)
- org.apache.ws.commons.schema.XmlSchemaCollection.getElementByQName(QName)
- org.apache.ws.commons.schema.XmlSchemaCollection.getAttributeGroupByQName(QName)
- org.apache.ws.commons.schema.XmlSchemaCollection.getGroupByQName(QName)
- org.apache.ws.commons.schema.XmlSchemaCollection.getNotationByQName(QName)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic