File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/upokecenter/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ),
You can’t perform that action at this time.
0 commit comments