ohmage / server

The ohmage server application.
37 stars 25 forks source link

toString() for Terminal class hierarchy for conditions #808

Closed jshslsky closed 9 years ago

jshslsky commented 9 years ago

Because toString() is not implemented in the Terminal class hierarchy, logging messages like this are possible.

Instantiation of [simple type, class org.ohmage.domain.survey.condition.Condition] value failed: Multiple terminals are in sequence: org.ohmage.domain.survey.condition.terminal.PromptId$Builder@7320fc7f, org.ohmage.domain.survey.condition.terminal.Text$Builder@7aa130e5