Groovy metaClass override java.time.Year static method now() but productive code is not using the overriden behaviour of now() at runtime

前端 未结 0 1661
陌清茗
陌清茗 2020-12-16 17:31

I attempted to override the java.time.Year class\'s public static method now() because I want it to return a different value, not just the current year. In my productive cod

相关标签:
回答
  • 消灭零回复
提交回复
热议问题