docs: update identity map

This commit is contained in:
Ilkka Seppälä
2024-05-01 10:23:49 +03:00
parent 167aa5afdb
commit 1430735db5
3 changed files with 129 additions and 99 deletions
@@ -25,7 +25,7 @@
package com.iluwatar.identitymap;
/**
* Using Runtime Exception to control the flow in case Person Id doesn not exist.
* Using Runtime Exception to control the flow in case Person Id doesn't exist.
*/
public class IdNotFoundException extends RuntimeException {
public IdNotFoundException(final String message) {
@@ -24,6 +24,7 @@
*/
package com.iluwatar.identitymap;
import java.io.Serial;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
@@ -39,6 +40,7 @@ import lombok.Setter;
@AllArgsConstructor
public final class Person implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
@EqualsAndHashCode.Include