stevedlawrence commented on code in PR #1707:
URL: https://github.com/apache/daffodil/pull/1707#discussion_r3854676535
##########
daffodil-core/src/main/scala/org/apache/daffodil/lib/schema/annotation/props/Properties.scala:
##########
@@ -120,18 +120,15 @@ trait EnumValue extends EnumValueBase {
override lazy val toString = {
val theVal = this
val cn = getNameFromClass(this)
- val en = cn match {
- //
- // Special case for CalendarFirstDayOfWeek
- //
- case "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" |
"Friday" | "Saturday" =>
- cn
- case _ => Misc.toInitialLowerCaseUnlessAllUpperCase(cn)
- }
+ val en = Misc.toInitialLowerCaseUnlessAllUpperCase(cn)
en
}
}
+trait EnumValueSimple extends EnumValueBase {
Review Comment:
Works for me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]