@Override
	public void setComment(String comment) {
		lock.acquire();
		try {
			checkDeleted();
			String oldComments = record.getString(FragmentDBAdapter.FRAGMENT_COMMENTS_COL);
			if (oldComments == null || !oldComments.equals(comment)) {
				record.setString(FragmentDBAdapter.FRAGMENT_COMMENTS_COL, comment);
				try {
					fragmentAdapter.updateFragmentRecord(record);
					moduleMgr.commentsChanged(oldComments, this);
				}
				catch (IOException e) {
					moduleMgr.dbError(e);
				}
			}

		}
		finally {
			lock.release();
		}
	}
Constructor
@param moduleMgr module manager
@param cache fragment DB cache
@param record fragment record
@param addrSet fragment address set
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/FragmentDB.java