Koen De Groote
f1ebe7929b
Internal refactor / tidy - Suggestions from intellij code analysis. ( #1209 )
2017-11-14 18:19:38 +13:00
Koen De Groote
4879d44da4
Bit of cleanup suggestions from intellij. ( #1168 )
2017-10-16 20:16:30 +13:00
Koen De Groote
9772623880
Added the Serializable interface to classes that extend/implement a Comparator with an anonymous/typed class. ( #1078 )
2017-08-03 23:29:56 +12:00
Koen De Groote
bf5a8c2fad
Changed some boolean checks to use the recommended method of comparing floating point values in Java. ( #1075 )
2017-07-22 13:00:24 +12:00
Koen De Groote
36a5610e25
Using Regular expression objects for splitting and replacing in strings. ( #1059 )
...
* Where possible, replace .split() and .replace() methods with compiled Regex patterns.
This prevents a regular expression from being compiled multiple times during runtime.
* Forgot making one instance `private static final`.
2017-07-06 20:14:51 +12:00
Koen De Groote
5a3669e1db
Noticed that this boolean parameter was ignored. ( #1041 )
...
After some quick analysis, implemented that way it probably should be used.
Of course, this could have been on purpose, please advise.
2017-06-19 21:39:58 +12:00
Koen De Groote
b4e2c89e2d
Moved a few variables closer to the point where they are actually used, but only in cases where this means moving them past a (potential) return/throw statement. ( #1029 )
2017-05-21 21:51:58 +12:00
Koen De Groote
9e2923f571
For debug and trace levels, either added isEnabled check or made arguments parameterized. ( #1028 )
2017-05-21 21:50:13 +12:00
Koen De Groote
951e517caf
Replaced Tail Recursion while while/true loops. ( #1019 )
2017-05-11 22:07:10 +12:00
Koen De Groote
335c4de109
Static code analysis. ( #1017 )
2017-04-30 14:47:02 +12:00
Koen De Groote
43408fcb87
Java language level updates concerning Maps. ( #1008 )
...
* Java language level updates concerning Maps.
* Reverts when comments indicated no sync can happen.
2017-04-22 15:48:46 +12:00
Koen De Groote
8432f7b0d5
Some changes that are possible in Java language level 7 and 8. ( #1007 )
2017-04-22 15:43:56 +12:00
Koen De Groote
bdd7884f42
Changes for ArrayStack. ( #1006 )
...
Removed old inspection suppression.
2017-04-22 15:42:25 +12:00
Koen De Groote
b821702b8d
Moving defaultservercache implementation to use nanoseconds to determine whether or not something needs to be evicted from the cache. ( #998 )
...
The old implementation used System.currentTimeMillis(), which might be unreliable, for instance during a jump in DST.
Thanks @rPraml for noticing and suggesting the fix.
2017-04-01 00:30:01 +13:00
Koen De Groote
289c0253b1
Warning suppressions. ( #986 )
...
* Went over compilation warnings with Xlint. Only imports for DateMidnight are left, as they cannot receive a suppression annotation.
Not doing this one.
* Doing inline fully qualified path of the deprecated path.
2017-03-05 11:08:45 +13:00
Koen De Groote
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00