Conversion example inconsistent with conversion description
See original GitHub issueDescribe the bug
The Config Value Conversion Rules section of the spec includes this:
Value | Convert To | Method | Result |
---|---|---|---|
"\," |
String | getValue | "\," |
"\," |
String[] | getValue | throws NoSuchElementException |
"\," |
String | getOptionalValue | Optional.of("\,") |
"\," |
String[] | getOptionalValue | Optional.empty() |
"\," |
String | getOptionalValues | Optional.empty() |
I think this is wrong. Since \
is used as an escape character, the list style conversions should treat the ,
as a literal character, rather than a separator, so the result for getValue
with String[]
would be {","}
.
I’m unsure whether this table should also have code tags around almost every entry. (My only doubt here is that \
is also the string escape in Java, so it could be confusing as to whether we’re using Java’s string syntax or not if it’s formatted as code)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Conversion Disorder: What It Is, Causes, Symptoms & Treatment
Functional neurological symptom disorder — better known as “conversion disorder” — is a mental health condition that causes physical symptoms.
Read more >Conversion Disorder - StatPearls - NCBI Bookshelf
Inconsistent symptoms, negative labs/imaging, and/or a significant psychiatric disorder are reliable indicators of conversion disorder. However, ...
Read more >Conversion disorder: MedlinePlus Medical Encyclopedia
Conversion disorder is a mental condition in which a person has blindness, paralysis, or other nervous system (neurologic) symptoms that ...
Read more >Conversion Disorder - Mental Help Net
Conversion Disorder describes impairment in sensory or motor function resulting from unknown neurological origin. Examples of sensory function include vision,
Read more >Conversion - The Basic Tort | Stimmel Law
Conversion - The Basic Tort · the plaintiff's ownership or right to possession of the property; · the defendant's conversion by wrongful act...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @radcortez @jbee! Let me propose a PR to get it fixed.
Ok.