See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
import java.text.NumberFormat | |
import java.util.* | |
enum class PaymentMethod(val balance: Double) { | |
CASH(14.02) { | |
override fun printFormattedAmount(): String { | |
return NumberFormat.getCurrencyInstance(Locale.US).format(balance) | |
} | |
}, |
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs