mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-17 08:59:12 +00:00
docs: update tolerant reader
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
package com.iluwatar.tolerantreader;
|
||||
|
||||
import java.io.Serial;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
@@ -32,6 +33,7 @@ import lombok.Getter;
|
||||
@Getter
|
||||
public class RainbowFishV2 extends RainbowFish {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private boolean sleeping;
|
||||
|
||||
Reference in New Issue
Block a user