Skip to content

Commit c7c19f9

Browse files
committed
update Java version
1 parent bc80463 commit c7c19f9

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

src/main/java/com/upokecenter/cbor/CBORObject.java

+15-9
Original file line numberDiff line numberDiff line change
@@ -1194,9 +1194,11 @@ public <T> T ToObject(java.lang.reflect.Type t, CBORTypeMapper mapper) {
11941194
if (mapper == null) {
11951195
throw new NullPointerException("mapper");
11961196
}
1197-
return (T)(this.ToObject(t, mapper,
1198-
null,
1199-
0));
1197+
return (T)(this.ToObject(
1198+
t,
1199+
mapper,
1200+
null,
1201+
0));
12001202
}
12011203

12021204
/**
@@ -1229,9 +1231,11 @@ public <T> T ToObject(java.lang.reflect.Type t, PODOptions options) {
12291231
if (options == null) {
12301232
throw new NullPointerException("options");
12311233
}
1232-
return (T)(this.ToObject(t, null,
1233-
options,
1234-
0));
1234+
return (T)(this.ToObject(
1235+
t,
1236+
null,
1237+
options,
1238+
0));
12351239
}
12361240

12371241
/**
@@ -2544,9 +2548,11 @@ public static CBORObject FromObject(
25442548
if (mapper == null) {
25452549
throw new NullPointerException("mapper");
25462550
}
2547-
return FromObject(obj, options,
2548-
mapper,
2549-
0);
2551+
return FromObject(
2552+
obj,
2553+
options,
2554+
mapper,
2555+
0);
25502556
}
25512557

25522558
static CBORObject FromObject(

0 commit comments

Comments
 (0)