mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
added copying to JSONPointer constructor
This commit is contained in:
parent
5ae6a66e38
commit
c044eb14dd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue