File tree 1 file changed +3
-7
lines changed
src/java.base/share/classes/jdk/internal/util/xml/impl
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2012, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2012, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -41,16 +41,12 @@ public class Attrs implements Attributes {
41
41
* Number of attributes in the attributes string array.
42
42
*/
43
43
private char mLength ;
44
- /**
45
- * current index
46
- */
47
- private char mAttrIdx = 0 ;
48
44
49
45
/**
50
46
* Constructor.
51
47
*/
52
48
public Attrs () {
53
- // The default number of attributies capacity is 8.
49
+ // The default number of attributes capacity is 8.
54
50
mItems = new String [(8 << 3 )];
55
51
}
56
52
@@ -136,7 +132,7 @@ public String getQName(int index) {
136
132
*
137
133
* <p>If the parser has not read a declaration for the attribute, or if the
138
134
* parser does not report attribute types, then it must return the value
139
- * "CDATA" as stated in the XML 1.0 Recommentation (clause 3.3.3,
135
+ * "CDATA" as stated in the XML 1.0 Recommendation (clause 3.3.3,
140
136
* "Attribute-Value Normalization").</p>
141
137
*
142
138
* <p>For an enumerated attribute that is not a notation, the parser will
You can’t perform that action at this time.
0 commit comments