1
0
Fork 0
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:
Bence Erős 2016-05-05 15:59:43 +02:00
parent 5ae6a66e38
commit c044eb14dd

View file

@ -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) {