Skip to content

Commit

Permalink
fix some fs4j erros
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsDepuydt committed May 21, 2022
1 parent 3be3370 commit 8573dec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/out
/.idea
.classpath
.project
.project
*.zip
2 changes: 1 addition & 1 deletion src/breakout/radioactivity/Alpha.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @invar | getLocation() != null
* @invar | getVelocity() != null
* @invar | getLinkedBalls != null
* @invar | getLinkedBalls() != null
* @invar | Arrays.stream(getLinkedBalls()).allMatch(Objects::nonNull)
*/
public class Alpha {
Expand Down
3 changes: 0 additions & 3 deletions src/breakout/radioactivity/Ball.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ public int getEcharge() {

/**
* Calculate the charge of the ball that is dependant of linkedAlphas().
*
* @post | eCharge != 0 (of mss is invar al genoeg?)
* @post | ...
*/
private void calculateCharge() {
var linkedSize = this.getLinkedAlphas().size();
Expand Down

0 comments on commit 8573dec

Please sign in to comment.