Skip to content

Commit 08de2d9

Browse files
committed
update Java version
1 parent 2f411df commit 08de2d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/upokecenter/test/CBORObjectTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3443,8 +3443,8 @@ public void TestFromObject_TypeMapper() {
34433443
@Test(timeout = 10001)
34443444
public void TestFromObject_Dictionary() {
34453445
Map<String, String> dict = new HashMap<String, String>();
3446-
dict.["TestKey"] = "TestValue";
3447-
dict.["TestKey2"] = "TestValue2";
3446+
dict.put("TestKey","TestValue");
3447+
dict.put("TestKey2","TestValue2");
34483448

34493449
CBORObject c = CBORObject.FromObject(dict);
34503450
CheckKeyValue(c, "TestKey", "TestValue");
@@ -3579,7 +3579,7 @@ public void TestFromObject_PODOptions() {
35793579
"propB",
35803580
"propC");
35813581
HashMap<String, Object> aodict = new HashMap<String, Object>();
3582-
aodict.["PropValue"] = new PODClass();
3582+
aodict.put("PropValue",new PODClass());
35833583

35843584
CBORObjectTest.CheckPODInDictPropertyNames(
35853585
CBORObject.FromObject(aodict, valueCcTF),

0 commit comments

Comments
 (0)