While it makes sense when you don't indicate the type since it's Apache Common Configuration syntax for list, it feels strange when indicate upfront that this property is a String.
ConfigurationSource configuration;
configuration.getProperty("myproperty", String.class)
with xwiki.properties containing
|