From fcb1ad3944c8b4474255b8516e804feb7ab445f1 Mon Sep 17 00:00:00 2001 From: Hugi Thordarson Date: Fri, 15 Mar 2024 07:31:30 +0000 Subject: [PATCH] Add a note on caching NGProperties.isDevelopmentMode() --- ng-appserver/src/main/java/ng/appserver/NGProperties.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ng-appserver/src/main/java/ng/appserver/NGProperties.java b/ng-appserver/src/main/java/ng/appserver/NGProperties.java index 7de3dd81..22ccf3a9 100644 --- a/ng-appserver/src/main/java/ng/appserver/NGProperties.java +++ b/ng-appserver/src/main/java/ng/appserver/NGProperties.java @@ -218,6 +218,7 @@ public String _propertiesMapAsString() { * @return true if the application is in development mode. * * FIXME: This needs a more robust and explicit implementation, see issue #6 // Hugi 2021-12-29 + * FIXME: This definitely needs some caching since it's invoked quite often // Hugi 2024-03-15 */ public boolean isDevelopmentMode() { return !propWOMonitorEnabled();