Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Georgii Aksenov
2021-pb162-seminar-project
Commits
2129399f
Commit
2129399f
authored
Mar 29, 2021
by
Georgii Aksenov
Browse files
Iteration03 - review fixes
(cherry picked from commit
d413fef3
)
parent
eeb07e2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/cz/muni/fi/pb162/project/geometry/Circle.java
View file @
2129399f
...
...
@@ -24,8 +24,7 @@ public class Circle {
* This is a default constructor with default parameters.
*/
public
Circle
()
{
this
.
center
=
new
Vertex2D
(
0
,
0
);
this
.
radius
=
1
;
this
(
new
Vertex2D
(
0
,
0
),
1
);
}
public
Vertex2D
getCenter
()
{
...
...
src/main/java/cz/muni/fi/pb162/project/geometry/Vertex2D.java
View file @
2129399f
...
...
@@ -40,7 +40,7 @@ public class Vertex2D {
*/
@Override
public
String
toString
()
{
return
format
(
"[%s, %s]"
,
Double
.
valueOf
(
x
).
toString
(),
Double
.
valueOf
(
y
).
toString
()
);
return
format
(
"[%s, %s]"
,
x
,
y
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment