コード例 #1
0
 /**
  * Returns <code>true</code> if the description of the tag has been modified, <code>false</code>
  * otherwise.
  *
  * @return See above.
  */
 boolean hasBeenModified() {
   if (originalName == null) return false;
   if (data instanceof TagAnnotationData) {
     TagAnnotationData tag = (TagAnnotationData) data;
     if (!originalName.equals(tag.getTagValue())) return true;
     String txt = tag.getTagDescription();
     if (txt != null) return !(originalDescription.equals(txt));
     return false;
   }
   return false;
 }