Logo
Explore Help
Sign In
gaspersic/java-design-patterns
1
0
Fork 0
You've already forked java-design-patterns
Code Issues Pull Requests Projects Releases Wiki Activity
Files
37ae182630453a1a582cc3d9fdc89f57d2572e7f
java-design-patterns/hexagonal/src
History
Narendra Pathai 37ae182630 Resolved PMD issues
2018-10-15 13:30:20 +05:30
..
main/java/com/iluwatar/hexagonal
Resolved PMD issues
2018-10-15 13:30:20 +05:30
test/java/com/iluwatar/hexagonal
1) Refactored LotteryNumbers to use Joiner from guava library to join lottery numbers. 2) Solved potential thread safety issue in LotteryTicketId class, where it was using raw primitive value and incrementing it which is not thread-safe. So used AtomicInteger for brevity 3) assertEquals arguments were in incorrect order at many places, so changed order of those 4) Replaced assertFalse and assertTrue at some places with assertEquals and assertNotEquals for reducing complexity of code 5) Removed public modifiers from test cases, as they are no more needed by JUnit 5
2018-10-15 13:21:00 +05:30
Powered by Gitea Version: 1.24.3 Page: 116ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API