Marcello Galhardo
12/14/2021, 11:01 AMarnaud.giuliani
12/17/2021, 9:31 AMMarcello Galhardo
12/17/2021, 3:38 PMgetProperty
and if you call the wrong one you get an exception. For example, two examples will cause a runtime exception:
First example:
1. You load a string from file. ie, timeout=10
2. You read it with getProperty<Int>("timeout")
.
Second example:
1. You set a string using `setProperty<Int>(“timeout”, 10)
2. You read it with getProperty("timeout")
.
That happened few times in the codebase I’m working as they have a lot of properties (from file and defined in code). 😞arnaud.giuliani
12/17/2021, 3:39 PM