Nonlinearself-adjointness of a class of third order nonlinear dispersive equations