Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Mar 24, 2024
1 parent 751ddbe commit c1f2fd2
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/main/java/org/matsim/run/scoring/Category.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ public final class Category {
*/
private final Set<String> values;

/**
* Groups of values that have been subsumed under a single category.
* These are values separated by ,
*/
private final Map<String, String> grouped;
/**
* Groups of values that have been subsumed under a single category.
* These are values separated by ,
*/
private final Map<String, String> grouped;

/**
/**
* Range categories.
*/
private final List<Range> ranges;

public Category(Set<String> values) {
public Category(Set<String> values) {
this.values = values;
this.grouped = new HashMap<>();
for (String v : values) {
Expand Down Expand Up @@ -121,13 +121,12 @@ else if (grouped.containsKey(v))
}

/**
* Number range.
* @param left Left bound of the range.
* @param right Right bound of the range. (exclusive)
* @param label Label of this group.
*/
private record Range(double left, double right, String label) {


}

}

0 comments on commit c1f2fd2

Please sign in to comment.