zavakid
09429c241f
= inner class MessageEventFactory to be static
2020-09-23 11:37:17 +08:00
zavakid
9a332940d7
= remove unused import
2020-09-23 11:34:45 +08:00
zavakid
362974b1c2
= code cleanup: remove unnessary boxing
2020-09-18 00:54:23 +08:00
zavakid
435db30b7b
= performance improve
...
- using bulk operation instead of iteration if possible
- terminate loop after condition is met
2020-09-18 00:51:53 +08:00
zavakid
e7de8289cd
= code cleanup : modified inner class to 'static' if possible
2020-09-18 00:49:48 +08:00
zavakid
5065fea963
= fix BooleanMutex's inner Sync to static class and add test case
2020-09-18 00:44:25 +08:00
zavakid
6989eb3d2b
+ fix logging call placeholders number
2020-09-17 23:26:02 +08:00
zavakid
df24596092
= code cleanup
...
- for loop replaceable with enhanced 'for' loop
- using diamond in generic type
- collapse try catch exception
- using try-with-resource
- using List#sort instead of Collections#sort
- replaced lambda with method reference
- using native compare method to compare numbers
- using switch instead of if for in ESSyncUtil
2020-09-17 23:22:25 +08:00
zavakid
43c23ffb97
= remove unused improt
2020-09-17 22:40:06 +08:00
zavakid
e7658879bc
= cold cleanup
...
* using lambda if possible (we are already building in Java8)
* using diamond when new generic instance
* remove used improt
2020-09-17 17:46:20 +08:00
zavakid
df60eda679
= code cleanup
2020-09-16 14:18:05 +08:00