java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

Issue#1957

Open xyllq999 opened this issue 2 years ago • 1 comments

This PR helps for solving #1957

I use 1000L to replace 1000 to avoid the overflow bug. Guaranteed not to overflow when converting int types to long types.

And I also fix the test method to avoid test overflow, I hope it can work now.

xyllq999 avatar May 09 '22 10:05 xyllq999