diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-02-01 11:05:27 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-02-01 11:05:27 +0100 |
| commit | fa59d34410e0e915a5fc7e428a4586c153983431 (patch) | |
| tree | e3185eafc92748f161529f059937bb21ab7e8521 | |
| parent | 403f99cf6dbbf2448764742ebaae61999c5bd958 (diff) | |
| download | tdde30-fa59d34410e0e915a5fc7e428a4586c153983431.tar.gz | |
code inspectionlab3-0
| -rw-r--r-- | src/se/liu/gusso230/shapes/AbstractShape.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/liu/gusso230/shapes/AbstractShape.java b/src/se/liu/gusso230/shapes/AbstractShape.java index 41a7294..5c6d965 100644 --- a/src/se/liu/gusso230/shapes/AbstractShape.java +++ b/src/se/liu/gusso230/shapes/AbstractShape.java @@ -23,7 +23,7 @@ public abstract class AbstractShape implements Shape { return Objects.hash(x, y, color); } - public AbstractShape(int x, int y, Color color) { + protected AbstractShape(int x, int y, Color color) { this.x = x; this.y = y; this.color = color; |
