Ejemplo n.º 1
0
  /*
   * @see org.eclipse.wst.jsdt.internal.corext.text.comment.CommentLine#adapt(org.eclipse.wst.jsdt.internal.corext.text.comment.CommentLine)
   */
  protected void adapt(final CommentLine previous) {

    if (!hasAttribute(COMMENT_ROOT)
        && !hasAttribute(COMMENT_PARAMETER)
        && !previous.hasAttribute(COMMENT_BLANKLINE))
      fReferenceIndentation = previous.getIndentationReference();
  }