public String verify( StringProperty stringproperty, String s, HTTPRequest httprequest, HashMap hashmap) { if (stringproperty == getPropertyObject(PROPERTY_NAME_BROWSABLE)) { String s1 = getProperty(PROPERTY_NAME_COUNTER_ID + 1); if (s1.length() <= 0) { String s2 = httprequest.getValue("browseDataError"); if (s2 != null && s2.length() > 0) { hashmap.put(stringproperty, s2); } else { hashmap.put(stringproperty, "No counters selected"); } } return s; } else { return super.verify(stringproperty, s, httprequest, hashmap); } }
public String verify( StringProperty stringproperty, String s, HTTPRequest httprequest, HashMap hashmap) { if (stringproperty == pFrequency) { HashMap hashmap1 = MasterConfig.getMasterConfig(); int i = TextUtils.toInt(TextUtils.getValue(hashmap1, "_J2EEReportMonitorMinRefreshTime")); if (i < 15) { i = 300; } String s1 = httprequest.getValue(stringproperty.getName() + "Units"); int j = FrequencyProperty.toSeconds(TextUtils.toInt(s), s1); if (j < i && j != 0) { hashmap.put(stringproperty, j + " was less than " + i + " seconds"); } return Integer.toString(j); } else { return super.verify(stringproperty, s, httprequest, hashmap); } }