snoopdave commented on code in PR #254:
URL: https://github.com/apache/roller/pull/254#discussion_r4575247845
##########
app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/UtilitiesModel.java:
##########
@@ -48,7 +51,10 @@
public class UtilitiesModel implements Model {
private static final Log log = LogFactory.getLog(UtilitiesModel.class);
-
+
+ /** Invalid date patterns already logged, so a busy page logs each one
once. */
+ private static final Set<String> INVALID_DATE_PATTERNS =
ConcurrentHashMap.newKeySet();
Review Comment:
can we limit this size of this set so it does not grow without bounds? maybe
use some sort of LRU cache?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]