Skip to content

Commit cc0f0bf

Browse files
authored
make JsonPointer and Operation public for visibility in JsonPatchApplicationException (#170)
1 parent 49ab75c commit cc0f0bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/flipkart/zjsonpatch/JsonPointer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
* @since 0.4.8
4040
*/
41-
class JsonPointer {
41+
public class JsonPointer {
4242
private final RefToken[] tokens;
4343

4444
/** A JSON pointer representing the root node of a JSON document */

src/main/java/com/flipkart/zjsonpatch/Operation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* User: gopi.vishwakarma
2525
* Date: 30/07/14
2626
*/
27-
enum Operation {
27+
public enum Operation {
2828
ADD("add"),
2929
REMOVE("remove"),
3030
REPLACE("replace"),

0 commit comments

Comments
 (0)