mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-09 12:04:28 +08:00
added copying to JSONPointer constructor
This commit is contained in:
@@ -143,7 +143,7 @@ public class JSONPointer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public JSONPointer(List<String> refTokens) {
|
public JSONPointer(List<String> refTokens) {
|
||||||
this.refTokens = refTokens;
|
this.refTokens = new ArrayList<String>(refTokens);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String unescape(String token) {
|
private String unescape(String token) {
|
||||||
|
Reference in New Issue
Block a user