Commit Graph

11 Commits

Author SHA1 Message Date
mahendran.mookkiah 51751ec821 #587 SonarQube reports bugs reader-writer-lock and refactor
Keeping wait() calls with in synchronized block closely to adhere
SonarQube rules.
 
Avoid nested synchronized block by extracting method.

Added writing and reading time to simulate testing to ensure 
1) writers are waiting for globalMutex to be empty 
2) readers to confirm there is no writers.
2017-08-18 20:44:28 -04:00
Ilkka Seppälä faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
daniel-bryla 0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Mohammed Ezzat 3791a80978 squid:S2325 - private methods that don't access instance data should be static 2016-02-22 19:15:51 +02:00
Mohammed Ezzat 0003c6cb00 pmd:RedundantFieldInitializer - Redundant-Field-Initializer 2016-02-18 08:40:19 +02:00
Joseph McCarthy 7cc93de672 #354 Merged Remote Master and resolved conflicts 2016-01-31 13:58:00 +00:00
Joseph McCarthy 3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Joseph McCarthy d7526fc7c0 #354 Add maven model for feature toggle design pattern 2016-01-25 21:14:24 +00:00
hoswey e95cfe9292 fix issue #343 ReaderWriterLock unit tests fail on CI 2016-01-13 09:35:31 +08:00
hoswey 77d45c35e0 implements the #75 reader writer lock, fix the problem of review 2016-01-10 21:23:52 +08:00
hoswey 3731d26f6d implants the #75 reader writer lock 2015-12-26 14:17:24 +08:00