Open haroon-sheikh opened 4 years ago
When the property=${foo} set in the file is expanded, the returned value is an empty String.
property=${foo}
Is there a particular reason why we have this approach?
Personally, it would be much easier to debug if it was just returned as is when not found.
Expected: properties.Get("property") = "${foo}"
properties.Get("property") = "${foo}"
Actual: properties.Get("property") = ""
properties.Get("property") = ""
Problem:
When the
property=${foo}
set in the file is expanded, the returned value is an empty String.Is there a particular reason why we have this approach?
Personally, it would be much easier to debug if it was just returned as is when not found.
Expected:
properties.Get("property") = "${foo}"
Actual:
properties.Get("property") = ""