mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 20:13:52 +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:
1 parent
0e26a6adb5
commit
5cf2fe009b
681 files changed
+2472
-4966
No files matched your search
@@ -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