Avoiding Java Properties Stupidity
I just spend the last several hours figuring out why my application won't talk to a couple of external services that I'm integrating with. For future reference, when using java.util.Properties,
key=value
behaves as expected (storing value into props.getProperty("key"))), while
key="value"
wraps the values in quotes, which is not at all what I wanted. I only caught this because I was noticing spurious quotes in my debug logs :)
I'm now off to recapture the time lost figuring this out.
Post new comment