Esempio n. 1
0
 /**
  * CAUTION: Decompiled by hand.
  *
  * @param hashmap
  * @param array
  * @param hashmap1
  */
 public void addAlertEntry(HashMap hashmap, ArrayList array, HashMap hashmap1) {
   if (hashmap1 != null) {
     Enumeration enumeration = hashmap1.keys();
     Object obj = null;
     String s1 = null;
     while (enumeration.hasMoreElements()) {
       String s = (String) enumeration.nextElement();
       if (!s.equals(s1)) {
         String s2 = "";
         s2 = TextUtils.getValue(hashmap, s);
         if (s.equals("alert-type")) {
           String s3 = TextUtils.getValue(hashmap, "alert-id");
           s2 = TextUtils.readStringFromEnd(s3, ":");
         } else if (s.equals("alert-id")) s2 = TextUtils.readStringFromStart(s2, ":");
         else if (s.equals("alert-monitor-id")) s2 = TextUtils.readStringFromStart(s2, ":");
         if (hashmap1.countValues(s2) > 0) array.add(hashmap);
         s1 = s;
       }
     }
   }
 }