Removed uneeded whitespaces
This commit is contained in:
parent
eda8d0f4d2
commit
663bfd5eeb
|
@ -83,10 +83,8 @@ public class ContextCache {
|
||||||
|
|
||||||
public void refreshContextsIfNeeded() throws ResourceRegistryException {
|
public void refreshContextsIfNeeded() throws ResourceRegistryException {
|
||||||
Calendar now = Calendar.getInstance();
|
Calendar now = Calendar.getInstance();
|
||||||
|
|
||||||
if(now.after(expiringTime) || (contexts==null && contextCacheRenewal!=null)) {
|
if(now.after(expiringTime) || (contexts==null && contextCacheRenewal!=null)) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
List<Context> contexts = contextCacheRenewal.renew();
|
List<Context> contexts = contextCacheRenewal.renew();
|
||||||
singleton.cleanCache(now);
|
singleton.cleanCache(now);
|
||||||
setContexts(contexts);
|
setContexts(contexts);
|
||||||
|
|
Loading…
Reference in New Issue