Bug #253 mobility hosts hover to origin after arriving at an event
5 open threads
Merge request reports
Activity
48 48 * @param nodeDestination 49 49 */ 50 50 public void setNextRoute(Coord nodeLocation, Coord nodeDestination) { 51 from = nodeLocation.clone(); 52 to = nodeDestination.clone(); 51 if (nodeLocation != null) { 52 from = nodeLocation.clone(); 53 } 54 else { There are some exceptions: https://stackoverflow.com/questions/16699593/uninitialized-object-vs-object-initialized-to-null
But I will change it!
364 364 * effectively leading to an immediate change to whatever movement model is set directly after calling this method. 365 365 */ 366 366 private void setMovementAsForcefullySwitched() { 367 justChanged = true; 367 if (host.getPath() != null) { 48 48 * @param nodeDestination 49 49 */ 50 50 public void setNextRoute(Coord nodeLocation, Coord nodeDestination) { 583 583 return this.getAddress() - h.getAddress(); 584 584 } 585 585 586 /** 587 * Sets the host's path (only for JUnit testing!!) 588 * @param p Path to be set 589 */ 590 public void setPath(Path p) { added Needs Changes and removed Needs Review labels
added 118 commits
-
43614d87...caa657ec - 116 commits from branch
master
- ef7bd956 - React to review part 1 (null-value assignment, indentation)
- 0a909f6f - Merge branch 'master' of https://nilsweid@git.cs.upb.de/pg-andi/Simulator.git in…
-
43614d87...caa657ec - 116 commits from branch
SonarQube analysis reported 5 issues
-
🔽 5 minor
-
🔽 Replace all tab characters in this file by sequences of white-spaces.📘 -
🔽 Make this line start at column 9.📘 -
🔽 Make this line start at column 9.📘 -
🔽 Make this line start at column 13.📘 -
🔽 Use a cryptographically strong random number generator (RNG) like "java.security.SecureRandom" in place of this PRNG📘
-
- .metadata/.log 0 → 100644
1 2 !ENTRY org.eclipse.ui.ide 4 4 2017-05-31 14:07:05.384 added 1 commit
- e0134bd7 - Change visibility of one method to make simulator compilable again
SonarQube analysis reported 4 issues
-
🔽 4 minor
-
added 282 commits
-
e0134bd7...8c76de55 - 281 commits from branch
master
- e5315a9b - Merge branch 'master' of https://nilsweid@git.cs.upb.de/pg-andi/Simulator.git in…
-
e0134bd7...8c76de55 - 281 commits from branch
SonarQube analysis reported 2 issues
-
🔽 2 minor
-
added 1 commit
- 3305a732 - Manually insert new methods to solve the rest of the merge conflict
SonarQube analysis reported 2 issues
-
🔽 2 minor
-
Please register or sign in to reply