Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@deboer-tim
Copy link
Collaborator

We try to strip the test data count in the public feed by setting it to null, but the property is an integer so you get this in the log instead:

R Error adding property: problems/test_data_count:null
R java.lang.NumberFormatException: null
R at org.icpc.tools.contest.model.internal.ContestObject.parseInt(ContestObject.java:142)

This just adds a method to correctly clear the property back to the default value, and uses that.

We try to strip the test data count in the public feed by setting it to null, but
the property is an integer so you get this in the log instead:

 R Error adding property: problems/test_data_count:null
 R    java.lang.NumberFormatException: null
 R    at org.icpc.tools.contest.model.internal.ContestObject.parseInt(ContestObject.java:142)

This just adds a method to correctly clear the property back to the default value,
and uses that.
@deboer-tim deboer-tim merged commit ac699bc into icpctools:main Apr 3, 2025
4 checks passed
@deboer-tim deboer-tim deleted the test-data-null branch April 3, 2025 15:42
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.

2 participants