ning/killbill — comment on commit 7e6046f5e0bc8c5aefb9e34ca8062b8b0c081b22
File: entitlement/src/main/java/com/ning/billing/entitlement/alignment/PlanAligner.java line 95
By JeffCertain:

I'd probably consider moving away from a PlanAlignmentCreate enum to enum classes. This would let you eliminate the case statement, since the classes could take a Subscription and return the appropriate date.