mirror of
https://github.com/stleary/JSON-java.git
synced 2025-10-02 07:04:42 -04:00
added copying to JSONPointer constructor
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user