mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 08:59:01 +00:00
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code * Fix merge conflicts and some sonar issues Co-authored-by: va1m <va1m@email.com>
This commit is contained in:
@@ -28,12 +28,6 @@ package com.iluwatar.doublebuffer;
|
||||
*/
|
||||
public enum Pixel {
|
||||
|
||||
WHITE(0),
|
||||
BLACK(1);
|
||||
|
||||
private final int color;
|
||||
|
||||
Pixel(int color) {
|
||||
this.color = color;
|
||||
}
|
||||
WHITE,
|
||||
BLACK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user