Skip to content

Commit 591da8d

Browse files
committed
Cleanup warnings in XML parser.
2015-04-18 Andrew John Hughes <[email protected]> * gnu/xml/stream/SAXParser.java: (getParser()): Add @OverRide. (getXMLReader()): Likewise. (isNamespaceAware()): Likewise. (isValidating()): Likewise. (setProperty(String,Object): Likewise. (getProperty(String)): Likewise. (isXIncludeAware()): Likewise. (reset()): Likewise. (getFeature(String)): Likewise. (setFeature(String,boolean)): Likewise. (setEntityResolver(EntityResolver)): Likewise. (getEntityResolver()): Likewise. (setDTDHandler(DTDHandler)): Likewise. (getDTDHandler()): Likewise. (setContentHandler(ContentHandler)): Likewise. (getContentHandler()): Likewise. (setErrorHandler(ErrorHandler)): Likewise. (getErrorHandler()): Likewise. (parse(InputSource)): Likewise. Add type parameters to collection usage. Add default cases in switch statements. Check in is not null before attempting to call close(). Remove superfluous else block. (isIgnorableWhitespace(XMLParser,char,boolean)): Remove exception declaration which is never thrown. Rename 'reader' to 'r' to avoid shadowing. Fix ContentModel type reference to refer to new enum. (parse(String)): Add @OverRide. (getIndex(String)): Likewise. (getIndex(String,String)): Likewise. (getLength()): Likewise. (getLocalName(int)): Likewise. (getQName(int)): Likewise. (getType(int)): Likewise. (getType(String)): Likewise. (getType(String,String)): Likewise. (getURI(int)): Likewise. (getValue(int)): Likewise. (getValue(String)): Likewise. (getValue(String,String)): Likewise. (isDeclared(int)): Likewise. (isDeclared(String)): Likewise. (isDeclared(Stirng,String)): Likewise. (isSpecified(int)): Likewise. (isSpecified(String)): Likewise. (isSpecified(String,String)): Likewise. (getColumnNumber()): Likewise. (getLineNumber()): Likewise. (getPublicId()): Likewise. (getSystemId()): Likewise. (getEncoding()): Likewise. (getXMLVersion()): Likewise. (resolveEntity(String,String,String,String)): Likewise. Avoid shadowing of baseURI. (resolveAsXMLEventReader(String)): Remove unused method (resolveAsXMLStreamReader(String)): Likewise. (report(String,String,Object,Location)): Add @OverRide. (main(String[])): Add type parameter to Class instance. * gnu/xml/stream/XMLParser.java: Add type parameters to all collection class instances and use interfaces as types rather than specific implementations. Switch from StringBuffer to StringBuilder for internal string buffering. (XMLParser(InputStream, String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, XMLReporter, XMLResolver)): Add type parameters to collection initialisation. (XMLParser(Reader, String, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, XMLReporter, XMLResolver)): Likewise. (getNamespaceURI(String)): Add @OverRide and type parameters. (getPrefix(String)): Likewise. (getPrefixes(String)): Likewise. (close()): Add @OverRide. (getNamespaceContext()): Likewise. (getAttributeCount()): Likewise. (getAttributeLocalName(int)): Likewise and remove unneeded casting and variable creation. (getAttributeNamespace(int)): Add @OverRide and remove unneeded variable creation. (getAttributePrefix(int)): Add @OverRide and remove unneeded casting and variable creation. (getAttributeName(int)): Add @OverRide and remove unneeded casting. (getAttributeType(int)): Add @OverRide and remove unneeded casting and variable creation. (getAttributeValue(int)): Likewise. (getAttributeValue(String,String)): Add @OverRide. Add for-each loop and remove unneeded casting. (getCharacterEncodingScheme()): Add @OverRide. (getElementText()): Likewise. Add Location instance to XMLStreamException being thrown. Handle other values of XMLStreamConstants as specified in method specification. (getEncoding()): Add @OverRide. (getEventType()): Likewise. (getLocalName()): Likewise. (getLocation()): Likewise. (getName()): Likewise. (getNamespaceCount()): Likewise. Avoid use of isEmpty() so Deque interface can be used for namespaces. Avoid superfluous variable creation. (getNamespacePrefix(int)): Add @OverRide and remove redundant casting. (getNamespaceURI()): Add @OverRide. (getNamespaceURI(int)): Likewise. Remove redundant casting. (getPIData()): Add @OverRide. (getPITarget()): Likewise. (getPrefix()): Likewise. (getProperty(String)): Likewise. (getText()): Likewise. (getTextCharacters()): Likewise. (getTextCharacters(int,char[],int,int)): Likewise. (getTextLength()): Likewise. (getTextStart()): Likewise. (getVersion(): Likewise. (hasName()): Likewise. (hasText()): Likewise. (isAttributeSpecified(int)): Likewise. Avoid redundant casting and variable creation. (isCharacters()): Add @OverRide. (isEndElement()): Likewise. (isStandalone()): Likewise. (isStartElement()): Likewise. (isWhiteSpace()): Likewise. (nextTag()): Likewise. (require(int,String,String)): Likewise. (standaloneSet()): Likewise. (hasNext()): Likewise. (next()): Likewise. Avoid use of isEmpty() so Deque interface can be used for namespaces) bases, startEntityStack, endEntityStack and stack. Avoid unnecessary casting. (getCurrentElement()): Remove redundant cast. (getXMLBase()): Avoid unnecessary casting and use for-each loops. (pushInput(String,String,boolean,boolean)): Likewise and drop IOException as one is not thrown. (pushInput(String,ExternalIds,boolean,boolean)): Rename ids to exIDs to avoid shadowing. Use for-each loop and avoid unnecessary casting. (pushInput(Input)): Rename input to in to avoid shadowing. (popInput()): Remove unnecessary casting. (readTextDecl()): Remove redundant cast. (readDoctypeDecl()): Rename ids to exIDs to avoid shadowing. Remove redundant else block. (readMarkupDecl(boolean)): Add default case to switch statement. (readElements(CPStringBuilder)): Mark fall-through in a way the compiler can interpret. (readAttDef(String)): Use for-each loops and interfaces for collection types. Add type parameters and remove redundant casts. (readAttType(CPStringBuilder,Set)): Use Set with type parameter instead of raw HashSet. Remove redundant else block. (readEnumeration(boolean,CPStringBuilder,Set)): Use Set with type parameter rather than raw HashSet. (readNotationType(CPStringBuilder,Set)): Likewise. (readDefault(String,String,String,String,Set)): Likewise. Remove unused defaultType variable. (readEntityDecl(boolean)): Rename ids to exIDs to avoid shadowing. (readNotationDecl(boolean)): Likewise. (readExternalIds(boolean,boolean)): Likewise. (readStartElement()): Add type parameters and for-each loops, removing redundant casts. Add default cases to switch statements. (attributeSpecified(String)): Use for-each loop and avoid redundant casts. (readAttribute(String)): Suppress warning about null pointer as an exception is thrown via the error method. Use interface types and type parameters for collections. (addNamespace(Attribute)): Use interface types and type parameters for collections. (readEndElement()): Remove redundant cast. (endElementValidationHook()): Avoid isEmpty() method so Deque interface can be used for stack. Remove redundant cast. (readCharData(String)): Avoid redundant cast. (expandEntity(String,boolean,boolean)): Rename ids to exIDs to avoid shadowing. (literalReadCh(boolean)): Avoid redundant cast. (readLiteral(int,boolean)): Likewise. (normalize(StringBuilder)): Make static and use StringBuilder rather than StringBuffer. Rename buf to buffer to avoid shadowing. (normalizeCRLF(StringBuilder)): Likewise. (expandPEReference()): Call readNmtoken with StringBuilder, not StringBuffer. (readNmtoken(boolean,StringBuilder)): Use StringBuilder rather than StringBuffer. Rename buf to buffer to avoid shadowing. (isNameStartCharacter(int,boolean)): Remove unneeded else block. (isNameCharacter(int,boolean)): Likewise. (intern(String)): Make package-private to allow access from inner class. (error(String)): Make static. (error(String,Object)): Likewise. Avoid unnecessary cast to Character as toString is available from Object. (validateStartElement(String)): Remove unneeded prefix from constants now they are part of an enum. Drop unneeded cast. Add default case to switch statement. (validateEndElement()): Likewise. (validatePCData(String)): Remove unneeded prefix from constants now they are part of an enum. Add default case to switch statement. (validateElementContent(ElementContentModel, List)): Use interface type with parameter for collection. Rename buf to buffer to avoid shadowing. Add type parameters. (createRegularExpression(ElementContentModel)): Rename buf to buffer to avoid shadowing. Use type parameters and avoid redundant casting. (validateDoctype()): Add type parameters and avoid redundant casting. Rename ids to exIDs to avoid shadowing. (Attribute.equals(Object)): Add @OverRide. Use isNamespaceAware() and isXML11() rather than trying to access private variables of outer class. Remove redundant else block. (Attribute.hashCode()): Implemented to match equals method. (Attribute.toString()): Add @OverRide. Rename buf to buffer to avoid shadowing. (Doctype): Rename externalEntities to externalEntitiesSet to avoid shadowing. (Doctype.addElementDecl(String,String,ContentModel)): Use getInputSize() rather than trying to access private variables of outer class. (Doctype.addAttributeDecl(String,String,AttributeDecl)): Add type parameters and remove redundant casts. (Doctype.addEntityDecl(String,ExternalIds,boolean)): Rename ids to exIDs to avoid shadowing. (Doctype.addNotationDecl(String,ExternalIds,boolean)): Likewise. (Doctype.getElementModel(String)): Remove redundant cast. (Doctype.getAttributeDecl(String,String)): Add type parameters and remove redundant casts. (Doctype.isAttributeDeclared(String,String)): Likewise. (Doctype.attlistIterator(String)): Likewise. (Doctype.entityIterator()): Add type parameter. (Doctype.getNotation(String)): Remove redundant cast. (Doctype.getComment(String)): Likewise. (Doctype.getPI(String)): Likewise. (Doctype.entryIterator()): Add type parameter. (ContentModel): Make static. (ContentModel.EMPTY): Removed. (ContentModel.ANY): Likewise. (ContentModel.ELEMENT): Likewise. (ContentModel.MIXED): Likewise. (ContentModel.Type): Introduce enum type with values EMPTY, ANY, ELEMENT and MIXED to replace integer constants. (ContentModel.type): Change type to ContentModel.Type. (EmptyContentModel): Make static. (EmptyContentModel.EmptyContentModel()): Initialise using enum constant. (AnyContentModel): Make static. (AnyContentModel.AnyContentModel()): Initialise using enum constant. (ElementContentModel): Make static. (ElementContentModel.ElementContentModel()): Initialise using enum constant. Add type parameters. (ContentParticle): Make static. (MixedContentModel): Likewise. (MixedContentModel.MixedContentModel()): Initialise using enum constant. Add type parameters. (AttributeDecl): Make static. (AttributeDecl.AttributeDecl(String,String,int,String,Set, boolean)): Use Set with type parameter instead of raw HashSet. (getCharacterOffset()): Add @OverRide. (getColumnNumber()): Likewise. (getLineNumber()): Likewise. (getPublicId()): Likewise. (getSystemId()): Likewise. (isNamespaceAware()): New package-private accessor for inner classes. (isXML11()): Likewise. (getInputSize()): Likewise. * javax/xml/parsers/SAXParser.java: (reset()): Fix documentation to refer to Java version rather than JAXP version. (getSchema()): Likewise. Suppress warnings about making this a static method. (isXIncludeAware()): Likewise.
1 parent 353c18a commit 591da8d

File tree

4 files changed

+806
-378
lines changed

4 files changed

+806
-378
lines changed

Diff for: ChangeLog

+309
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,312 @@
1+
2015-04-18 Andrew John Hughes <[email protected]>
2+
3+
* gnu/xml/stream/SAXParser.java:
4+
(getParser()): Add @Override.
5+
(getXMLReader()): Likewise.
6+
(isNamespaceAware()): Likewise.
7+
(isValidating()): Likewise.
8+
(setProperty(String,Object): Likewise.
9+
(getProperty(String)): Likewise.
10+
(isXIncludeAware()): Likewise.
11+
(reset()): Likewise.
12+
(getFeature(String)): Likewise.
13+
(setFeature(String,boolean)): Likewise.
14+
(setEntityResolver(EntityResolver)): Likewise.
15+
(getEntityResolver()): Likewise.
16+
(setDTDHandler(DTDHandler)): Likewise.
17+
(getDTDHandler()): Likewise.
18+
(setContentHandler(ContentHandler)): Likewise.
19+
(getContentHandler()): Likewise.
20+
(setErrorHandler(ErrorHandler)): Likewise.
21+
(getErrorHandler()): Likewise.
22+
(parse(InputSource)): Likewise. Add type
23+
parameters to collection usage. Add
24+
default cases in switch statements. Check
25+
in is not null before attempting to call
26+
close(). Remove superfluous else block.
27+
(isIgnorableWhitespace(XMLParser,char,boolean)):
28+
Remove exception declaration which is never thrown.
29+
Rename 'reader' to 'r' to avoid shadowing. Fix
30+
ContentModel type reference to refer to new enum.
31+
(parse(String)): Add @Override.
32+
(getIndex(String)): Likewise.
33+
(getIndex(String,String)): Likewise.
34+
(getLength()): Likewise.
35+
(getLocalName(int)): Likewise.
36+
(getQName(int)): Likewise.
37+
(getType(int)): Likewise.
38+
(getType(String)): Likewise.
39+
(getType(String,String)): Likewise.
40+
(getURI(int)): Likewise.
41+
(getValue(int)): Likewise.
42+
(getValue(String)): Likewise.
43+
(getValue(String,String)): Likewise.
44+
(isDeclared(int)): Likewise.
45+
(isDeclared(String)): Likewise.
46+
(isDeclared(Stirng,String)): Likewise.
47+
(isSpecified(int)): Likewise.
48+
(isSpecified(String)): Likewise.
49+
(isSpecified(String,String)): Likewise.
50+
(getColumnNumber()): Likewise.
51+
(getLineNumber()): Likewise.
52+
(getPublicId()): Likewise.
53+
(getSystemId()): Likewise.
54+
(getEncoding()): Likewise.
55+
(getXMLVersion()): Likewise.
56+
(resolveEntity(String,String,String,String)):
57+
Likewise. Avoid shadowing of baseURI.
58+
(resolveAsXMLEventReader(String)): Remove
59+
unused method
60+
(resolveAsXMLStreamReader(String)): Likewise.
61+
(report(String,String,Object,Location)):
62+
Add @Override.
63+
(main(String[])): Add type parameter to Class
64+
instance.
65+
* gnu/xml/stream/XMLParser.java:
66+
Add type parameters to all collection class
67+
instances and use interfaces as types rather
68+
than specific implementations. Switch from
69+
StringBuffer to StringBuilder for internal
70+
string buffering.
71+
(XMLParser(InputStream, String, boolean,
72+
boolean, boolean, boolean, boolean, boolean,
73+
boolean, boolean, boolean, XMLReporter,
74+
XMLResolver)): Add type parameters to
75+
collection initialisation.
76+
(XMLParser(Reader, String, boolean,
77+
boolean, boolean, boolean, boolean, boolean,
78+
boolean, boolean, boolean, XMLReporter,
79+
XMLResolver)): Likewise.
80+
(getNamespaceURI(String)): Add @Override
81+
and type parameters.
82+
(getPrefix(String)): Likewise.
83+
(getPrefixes(String)): Likewise.
84+
(close()): Add @Override.
85+
(getNamespaceContext()): Likewise.
86+
(getAttributeCount()): Likewise.
87+
(getAttributeLocalName(int)): Likewise
88+
and remove unneeded casting and variable
89+
creation.
90+
(getAttributeNamespace(int)): Add @Override
91+
and remove unneeded variable creation.
92+
(getAttributePrefix(int)): Add @Override
93+
and remove unneeded casting and variable
94+
creation.
95+
(getAttributeName(int)): Add @Override and
96+
remove unneeded casting.
97+
(getAttributeType(int)): Add @Override and
98+
remove unneeded casting and variable creation.
99+
(getAttributeValue(int)): Likewise.
100+
(getAttributeValue(String,String)): Add @Override.
101+
Add for-each loop and remove unneeded casting.
102+
(getCharacterEncodingScheme()): Add @Override.
103+
(getElementText()): Likewise. Add Location instance
104+
to XMLStreamException being thrown. Handle other
105+
values of XMLStreamConstants as specified in
106+
method specification.
107+
(getEncoding()): Add @Override.
108+
(getEventType()): Likewise.
109+
(getLocalName()): Likewise.
110+
(getLocation()): Likewise.
111+
(getName()): Likewise.
112+
(getNamespaceCount()): Likewise. Avoid use of
113+
isEmpty() so Deque interface can be used for
114+
namespaces. Avoid superfluous variable creation.
115+
(getNamespacePrefix(int)): Add @Override and
116+
remove redundant casting.
117+
(getNamespaceURI()): Add @Override.
118+
(getNamespaceURI(int)): Likewise. Remove redundant
119+
casting.
120+
(getPIData()): Add @Override.
121+
(getPITarget()): Likewise.
122+
(getPrefix()): Likewise.
123+
(getProperty(String)): Likewise.
124+
(getText()): Likewise.
125+
(getTextCharacters()): Likewise.
126+
(getTextCharacters(int,char[],int,int)): Likewise.
127+
(getTextLength()): Likewise.
128+
(getTextStart()): Likewise.
129+
(getVersion(): Likewise.
130+
(hasName()): Likewise.
131+
(hasText()): Likewise.
132+
(isAttributeSpecified(int)): Likewise. Avoid
133+
redundant casting and variable creation.
134+
(isCharacters()): Add @Override.
135+
(isEndElement()): Likewise.
136+
(isStandalone()): Likewise.
137+
(isStartElement()): Likewise.
138+
(isWhiteSpace()): Likewise.
139+
(nextTag()): Likewise.
140+
(require(int,String,String)): Likewise.
141+
(standaloneSet()): Likewise.
142+
(hasNext()): Likewise.
143+
(next()): Likewise. Avoid use of isEmpty() so
144+
Deque interface can be used for namespaces)
145+
bases, startEntityStack, endEntityStack and
146+
stack. Avoid unnecessary casting.
147+
(getCurrentElement()): Remove redundant cast.
148+
(getXMLBase()): Avoid unnecessary casting
149+
and use for-each loops.
150+
(pushInput(String,String,boolean,boolean)):
151+
Likewise and drop IOException as one is not
152+
thrown.
153+
(pushInput(String,ExternalIds,boolean,boolean)):
154+
Rename ids to exIDs to avoid shadowing. Use
155+
for-each loop and avoid unnecessary casting.
156+
(pushInput(Input)): Rename input to in to
157+
avoid shadowing.
158+
(popInput()): Remove unnecessary casting.
159+
(readTextDecl()): Remove redundant cast.
160+
(readDoctypeDecl()): Rename ids to exIDs to
161+
avoid shadowing. Remove redundant else block.
162+
(readMarkupDecl(boolean)): Add default case to
163+
switch statement.
164+
(readElements(CPStringBuilder)): Mark fall-through in
165+
a way the compiler can interpret.
166+
(readAttDef(String)): Use for-each loops and interfaces
167+
for collection types. Add type parameters and remove
168+
redundant casts.
169+
(readAttType(CPStringBuilder,Set)): Use Set with
170+
type parameter instead of raw HashSet. Remove
171+
redundant else block.
172+
(readEnumeration(boolean,CPStringBuilder,Set)):
173+
Use Set with type parameter rather than raw HashSet.
174+
(readNotationType(CPStringBuilder,Set)): Likewise.
175+
(readDefault(String,String,String,String,Set)): Likewise.
176+
Remove unused defaultType variable.
177+
(readEntityDecl(boolean)): Rename ids to exIDs to avoid
178+
shadowing.
179+
(readNotationDecl(boolean)): Likewise.
180+
(readExternalIds(boolean,boolean)): Likewise.
181+
(readStartElement()): Add type parameters and for-each
182+
loops, removing redundant casts. Add default cases to
183+
switch statements.
184+
(attributeSpecified(String)): Use for-each loop and
185+
avoid redundant casts.
186+
(readAttribute(String)): Suppress warning about null
187+
pointer as an exception is thrown via the error method.
188+
Use interface types and type parameters for collections.
189+
(addNamespace(Attribute)): Use interface types and type
190+
parameters for collections.
191+
(readEndElement()): Remove redundant cast.
192+
(endElementValidationHook()): Avoid isEmpty() method so
193+
Deque interface can be used for stack. Remove redundant
194+
cast.
195+
(readCharData(String)): Avoid redundant cast.
196+
(expandEntity(String,boolean,boolean)): Rename ids to
197+
exIDs to avoid shadowing.
198+
(literalReadCh(boolean)): Avoid redundant cast.
199+
(readLiteral(int,boolean)): Likewise.
200+
(normalize(StringBuilder)): Make static and use
201+
StringBuilder rather than StringBuffer. Rename buf
202+
to buffer to avoid shadowing.
203+
(normalizeCRLF(StringBuilder)): Likewise.
204+
(expandPEReference()): Call readNmtoken with
205+
StringBuilder, not StringBuffer.
206+
(readNmtoken(boolean,StringBuilder)): Use StringBuilder
207+
rather than StringBuffer. Rename buf to buffer
208+
to avoid shadowing.
209+
(isNameStartCharacter(int,boolean)): Remove unneeded else
210+
block.
211+
(isNameCharacter(int,boolean)): Likewise.
212+
(intern(String)): Make package-private to allow access
213+
from inner class.
214+
(error(String)): Make static.
215+
(error(String,Object)): Likewise. Avoid unnecessary
216+
cast to Character as toString is available from Object.
217+
(validateStartElement(String)): Remove unneeded prefix
218+
from constants now they are part of an enum. Drop unneeded
219+
cast. Add default case to switch statement.
220+
(validateEndElement()): Likewise.
221+
(validatePCData(String)): Remove unneeded prefix from
222+
constants now they are part of an enum. Add default
223+
case to switch statement.
224+
(validateElementContent(ElementContentModel, List)):
225+
Use interface type with parameter for collection.
226+
Rename buf to buffer to avoid shadowing. Add
227+
type parameters.
228+
(createRegularExpression(ElementContentModel)): Rename
229+
buf to buffer to avoid shadowing. Use type parameters
230+
and avoid redundant casting.
231+
(validateDoctype()): Add type parameters and avoid
232+
redundant casting. Rename ids to exIDs to avoid
233+
shadowing.
234+
(Attribute.equals(Object)): Add @Override. Use
235+
isNamespaceAware() and isXML11() rather than
236+
trying to access private variables of outer class.
237+
Remove redundant else block.
238+
(Attribute.hashCode()): Implemented to match
239+
equals method.
240+
(Attribute.toString()): Add @Override. Rename
241+
buf to buffer to avoid shadowing.
242+
(Doctype): Rename externalEntities to externalEntitiesSet
243+
to avoid shadowing.
244+
(Doctype.addElementDecl(String,String,ContentModel)):
245+
Use getInputSize() rather than trying to access
246+
private variables of outer class.
247+
(Doctype.addAttributeDecl(String,String,AttributeDecl)):
248+
Add type parameters and remove redundant casts.
249+
(Doctype.addEntityDecl(String,ExternalIds,boolean)):
250+
Rename ids to exIDs to avoid shadowing.
251+
(Doctype.addNotationDecl(String,ExternalIds,boolean)):
252+
Likewise.
253+
(Doctype.getElementModel(String)): Remove redundant cast.
254+
(Doctype.getAttributeDecl(String,String)): Add type
255+
parameters and remove redundant casts.
256+
(Doctype.isAttributeDeclared(String,String)): Likewise.
257+
(Doctype.attlistIterator(String)): Likewise.
258+
(Doctype.entityIterator()): Add type parameter.
259+
(Doctype.getNotation(String)): Remove redundant cast.
260+
(Doctype.getComment(String)): Likewise.
261+
(Doctype.getPI(String)): Likewise.
262+
(Doctype.entryIterator()): Add type parameter.
263+
(ContentModel): Make static.
264+
(ContentModel.EMPTY): Removed.
265+
(ContentModel.ANY): Likewise.
266+
(ContentModel.ELEMENT): Likewise.
267+
(ContentModel.MIXED): Likewise.
268+
(ContentModel.Type): Introduce enum type with
269+
values EMPTY, ANY, ELEMENT and MIXED to replace
270+
integer constants.
271+
(ContentModel.type): Change type to ContentModel.Type.
272+
(EmptyContentModel): Make static.
273+
(EmptyContentModel.EmptyContentModel()): Initialise using
274+
enum constant.
275+
(AnyContentModel): Make static.
276+
(AnyContentModel.AnyContentModel()): Initialise using
277+
enum constant.
278+
(ElementContentModel): Make static.
279+
(ElementContentModel.ElementContentModel()): Initialise using
280+
enum constant. Add type parameters.
281+
(ContentParticle): Make static.
282+
(MixedContentModel): Likewise.
283+
(MixedContentModel.MixedContentModel()): Initialise using
284+
enum constant. Add type parameters.
285+
(AttributeDecl): Make static.
286+
(AttributeDecl.AttributeDecl(String,String,int,String,Set,
287+
boolean)): Use Set with type parameter instead of raw HashSet.
288+
(getCharacterOffset()): Add @Override.
289+
(getColumnNumber()): Likewise.
290+
(getLineNumber()): Likewise.
291+
(getPublicId()): Likewise.
292+
(getSystemId()): Likewise.
293+
(isNamespaceAware()): New package-private accessor
294+
for inner classes.
295+
(isXML11()): Likewise.
296+
(getInputSize()): Likewise.
297+
* javax/xml/parsers/SAXParser.java:
298+
(reset()): Fix documentation to refer to Java version
299+
rather than JAXP version.
300+
(getSchema()): Likewise. Suppress warnings about making
301+
this a static method.
302+
(isXIncludeAware()): Likewise.
303+
304+
2015-03-22 Andrew John Hughes <[email protected]>
305+
306+
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java:
307+
(setDName(String,X500Principal)): Allow IOException
308+
to be thrown.
309+
1310
2015-03-11 Andrew John Hughes <[email protected]>
2311

3312
* configure.ac:

0 commit comments

Comments
 (0)