mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
added copying to JSONPointer constructor
This commit is contained in:
parent
5ae6a66e38
commit
c044eb14dd
@ -143,7 +143,7 @@ public class JSONPointer {
|
||||
}
|
||||
|
||||
public JSONPointer(List<String> refTokens) {
|
||||
this.refTokens = refTokens;
|
||||
this.refTokens = new ArrayList<String>(refTokens);
|
||||
}
|
||||
|
||||
private String unescape(String token) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user