if (a == null) attrs = new Object[0]; else {
    public SmallAttributeSet(AttributeSet a)    {      if (a == null)        attrs = new Object[0];      else        {          int n = a.getAttributeCount();          int i = 0;          attrs = new Object[n * 2];          Enumeration e = a.getAttributeNames();          while (e.hasMoreElements())            {              Object name = e.nextElement();              attrs[i++] = name;              attrs[i++] = a.getAttribute(name);            }        }    }