t = t>60L ? t : 60.0;
t = t>120L ? t : 120.0;
      private void disconnect(HttpServletRequest request, PrintWriter out) {          String expire = request.getParameter(EXPIRE);          Double d;          if (expire != null) {              try {                  double t = Double.parseDouble(expire);                  t = t>60L ? t : 60.0;                  d = new Double(t*1000.0);                                    try {                        blackboard.openTransaction();                        LocalReconnectTimeCondition lrtc = LocalReconnectTimeCondition.findOnBlackboard(assetType, assetID, blackboard);                        if (lrtc != null) {                           lrtc.setTime(d);                           out.println("<center><h2>Status Changed - Disconnect Requested</h2></center><br>" );                           blackboard.publishChange(lrtc);                            if (logger.isDebugEnabled()) logger.debug("Disconnect Requested: "+lrtc.getAsset()+" = "+lrtc.getValue().toString());                        }                        else {                            out.println("<center><h2>Failed to Disconnect - Defense not initialized: can't find ManagementAgent address</h2></center><br>");                            if (logger.isErrorEnabled()) logger.error("Failed to Disconnect - Defense not initialized: can't find ManagementAgent address");                            if (eventService.isEventEnabled()) {                                eventService.event("Defense not initialized");                            }                        }                        blackboard.closeTransaction();                    } finally {                        if (blackboard.isTransactionOpen()) blackboard.closeTransactionDontReset();                    }              } catch (NumberFormatException nfe) {                  out.println("<center><h2>Failed to Disconnect - NumberFormatException!</h2></center><br>" );                              if (logger.isErrorEnabled()) logger.error("Failed to Disconnect - NumberFormatException!");              }          }         }