Commit Graph

7 Commits

Author SHA1 Message Date
Li Zhanhui da5d7b9376 Reformat code according to Druid Java and Scala style 2016-01-18 16:37:03 +08:00
Li Zhanhui 0b627dde71 Revert adding synchronized to swapRequest method as the caller method onWaitEnd(), is only invoked in synchronized code blocks. There is no need to repeat sync it even if java's synchronized keyword holds a reentrant mutex semantic ^_^. 2016-01-12 19:33:39 +08:00
Li Zhanhui 03cdf3a8fe Update license text in pom.xml 2016-01-12 18:11:58 +08:00
Li Zhanhui dc47e80924 1. Add newline to pom.xml
2. Change RocketMQ to rocketMQ
3. Make swapRequests methods synchronized in all places.
4. Make comparator static and final and use Long.compare.
2016-01-12 18:03:16 +08:00
Li Zhanhui abe134bef6 Fix typo 2016-01-11 11:50:19 +08:00
Li Zhanhui 3d46356dc9 Update code on PR comments 2016-01-11 11:47:02 +08:00
Li Zhanhui 8eb332c1c4 Add druid-rocketmq module 2016-01-08 08:13:04 +08:00