Skip to content

Commit

Permalink
remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Feb 7, 2024
1 parent 3e31608 commit d13aa4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/matsim/prepare/population/AssignIncome.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public void run(Person person) {
double income = 0.;
double rndDouble = rnd.nextDouble();

// Disable SonarQube code duplication for this block
// BEGIN-NOSCAN

if (rndDouble <= 0.1) income = 826.;
else if (rndDouble <= 0.2) income = 1142.;
else if (rndDouble <= 0.3) income = 1399.;
Expand All @@ -57,7 +54,6 @@ public void run(Person person) {
else {
income = 4329.;
}
// END-NOSCAN

PersonUtils.setIncome(person, income);
}
Expand Down

0 comments on commit d13aa4c

Please sign in to comment.