mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
adds comment for the API change
This commit is contained in:
@@ -298,6 +298,9 @@ public class XMLTokener extends JSONTokener {
|
|||||||
* If it is not found, we are left at the end of the source with a result of false.
|
* If it is not found, we are left at the end of the source with a result of false.
|
||||||
* @param to A string to skip past.
|
* @param to A string to skip past.
|
||||||
*/
|
*/
|
||||||
|
// The Android implementation of JSONTokener has a public method of public void skipPast(String to)
|
||||||
|
// even though ours does not have that method, to have API compatibility, our method in the subclass
|
||||||
|
// should match.
|
||||||
public void skipPast(String to) {
|
public void skipPast(String to) {
|
||||||
boolean b;
|
boolean b;
|
||||||
char c;
|
char c;
|
||||||
|
Reference in New Issue
Block a user