mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-17 20:50:44 +00:00
Feedback from code reviews
This commit is contained in:
@ -197,6 +197,12 @@ public class QJavalinImplementation
|
||||
try
|
||||
{
|
||||
QInstance newQInstance = qInstanceHotSwapSupplier.get();
|
||||
if(newQInstance == null)
|
||||
{
|
||||
LOG.warn("Got a null qInstance from hotSwapSupplier. Not hot-swapping.");
|
||||
return;
|
||||
}
|
||||
|
||||
new QInstanceValidator().validate(newQInstance);
|
||||
QJavalinImplementation.qInstance = newQInstance;
|
||||
LOG.info("Swapped qInstance");
|
||||
|
Reference in New Issue
Block a user