Code formatting
parent
105645c6e6
commit
93f90d95d4
|
|
@ -1,7 +1,5 @@
|
|||
package org.scientificcms.publications.contenttypes;
|
||||
|
||||
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.librecms.contenttypes.ContentTypeDescription;
|
||||
import org.librecms.ui.contentsections.documents.MvcAuthoringKit;
|
||||
|
|
@ -58,7 +56,6 @@ public class ExpertiseItem extends PublicationItem<Expertise> {
|
|||
// protected void setPublication(final Expertise expertise) {
|
||||
// this.expertise = expertise;
|
||||
// }
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int hash = super.hashCode();
|
||||
|
|
@ -81,12 +78,12 @@ public class ExpertiseItem extends PublicationItem<Expertise> {
|
|||
return false;
|
||||
}
|
||||
final ExpertiseItem other
|
||||
= (ExpertiseItem) obj;
|
||||
= (ExpertiseItem) obj;
|
||||
// if (!other.canEqual(this)) {
|
||||
// return false;
|
||||
// }
|
||||
// return Objects.equals(this.expertise, other.getPublication());
|
||||
return other.canEqual(this);
|
||||
return other.canEqual(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -100,5 +97,4 @@ return other.canEqual(this);
|
|||
// Objects.toString(expertise),
|
||||
// data));
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue