if (! this.mimeType.toLowerCase().equals(flavor.mimeType.toLowerCase()))
String primary = getPrimaryType(); if (! primary.equals(flavor.getPrimaryType())) return false;  String sub = getSubType(); if (! sub.equals(flavor.getSubType()))
  public boolean equals(DataFlavor flavor)  {  if (flavor == null)      return false;    if (! this.mimeType.toLowerCase().equals(flavor.mimeType.toLowerCase()))      return false;    if (! this.representationClass.equals(flavor.representationClass))      return false;    return true;  }