BAEL-4077 Fixup styling
This commit is contained in:
		
							parent
							
								
									9e03b89e69
								
							
						
					
					
						commit
						d50a831972
					
				| @ -40,15 +40,17 @@ public class EqualByBusinessKey { | ||||
| 
 | ||||
|     @Override | ||||
|     public boolean equals(Object obj) { | ||||
|         if (this == obj) | ||||
|         if (this == obj) { | ||||
|             return true; | ||||
|         if (obj == null) | ||||
|             return false; | ||||
|         if (obj instanceof EqualByBusinessKey) | ||||
|             if (((EqualByBusinessKey) obj).getEmail() == getEmail()) | ||||
|                 return true; | ||||
| 
 | ||||
|         } | ||||
|         if (obj == null) { | ||||
|             return false; | ||||
|         } | ||||
|         if (obj instanceof EqualByBusinessKey) { | ||||
|             if (((EqualByBusinessKey) obj).getEmail() == getEmail()) { | ||||
|                 return true; | ||||
|             } | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
| } | ||||
|  | ||||
| @ -41,14 +41,15 @@ public class EqualById { | ||||
| 
 | ||||
|     @Override | ||||
|     public boolean equals(Object obj) { | ||||
|         if (this == obj) | ||||
|         if (this == obj) { | ||||
|             return true; | ||||
|         if (obj == null) | ||||
|             return false; | ||||
|         if (obj instanceof EqualById) | ||||
|             return ((EqualById) obj).getId() == getId(); | ||||
| 
 | ||||
|         } | ||||
|         if (obj == null) { | ||||
|             return false; | ||||
|         } | ||||
|         if (obj instanceof EqualById) { | ||||
|             return ((EqualById) obj).getId().equals(getId()); | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
| } | ||||
|  | ||||
| @ -30,9 +30,7 @@ public class EqualByJavaDefault implements Cloneable{ | ||||
|         this.email = email; | ||||
|     } | ||||
| 
 | ||||
|     public Object clone() throws | ||||
|             CloneNotSupportedException | ||||
|     { | ||||
|     public Object clone() throws CloneNotSupportedException { | ||||
|         return super.clone(); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user