package org.openur.module.domain.userstructure.technicaluser;

import org.apache.commons.lang3.builder.CompareToBuilder;
import org.openur.module.domain.userstructure.UserStructureBase;

public class TechnicalUser
	extends UserStructureBase
	implements ITechnicalUser
{
	private static final long serialVersionUID = 4476135911103120283L;

	TechnicalUser(TechnicalUserBuilder b)
	{
		super(b);
	}

	@Override
	public int compareTo(ITechnicalUser other)
	{
		int comparison = new CompareToBuilder()
												.append(this.getNumber(), other.getNumber())
												.append(this.getStatus(), other.getStatus())
												.toComparison();
		
		return comparison;
	}
}

@@ -62,67 +62,8 @@
 %0D%0A%0D%0A
-import org.apache.commons.lang3.builder.CompareToBuilder;%0D%0A
 impo
@@ -348,290 +348,8 @@
 %0A%09%7D%0D
-%0A%0D%0A%09@Override%0D%0A%09public int compareTo(ITechnicalUser other)%0D%0A%09%7B%0D%0A%09%09int comparison = new CompareToBuilder()%0D%0A%09%09%09%09%09%09%09%09%09%09%09%09.append(this.getNumber(), other.getNumber())%0D%0A%09%09%09%09%09%09%09%09%09%09%09%09.append(this.getStatus(), other.getStatus())%0D%0A%09%09%09%09%09%09%09%09%09%09%09%09.toComparison();%0D%0A%09%09%0D%0A%09%09return comparison;%0D%0A%09%7D%0D
 %0A%7D%0D%0A

remove compareTo-method