Skip to content

Fix java literaleval#209

Open
avinxshKD wants to merge 3 commits intoControlCore-Project:devfrom
avinxshKD:fix-java-literaleval
Open

Fix java literaleval#209
avinxshKD wants to merge 3 commits intoControlCore-Project:devfrom
avinxshKD:fix-java-literaleval

Conversation

@avinxshKD
Copy link

The literalEval() method in concoredocker.java was just returning an empty HashMap regardless of input. Added a parser that handles Python-style dicts ({'key': value}), lists ([1, 2, 3]), and primitives so parseFile(), read(), initVal(), and defaultMaxTime() actually work..

Fixes #197

- Replace empty HashMap return with actual parser
- Handle dict format: {'key': value}
- Handle list format: [val1, val2]
- Fix read(), initVal(), defaultMaxTime() to use parser

Fixes ControlCore-Project#197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant