Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 8bfde1c

Browse files
author
barnabartha
committed
SORMAS-Foundation#2642 - rename attribute
1 parent 6969f9e commit 8bfde1c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

sormas-api/src/main/java/de/symeda/sormas/api/statistics/StatisticsCaseAttribute.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public enum StatisticsCaseAttribute {
7878
private final StatisticsCaseAttributeGroup attributeGroup;
7979
private final boolean sortByCaption;
8080
private final boolean unknownValueAllowed;
81-
private boolean userForVisualisation = true;
81+
private boolean usedForVisualisation = true;
8282
private final StatisticsCaseSubAttribute[] subAttributes;
8383

8484
StatisticsCaseAttribute(
@@ -97,10 +97,10 @@ public enum StatisticsCaseAttribute {
9797
StatisticsCaseAttributeGroup attributeGroup,
9898
boolean sortByCaption,
9999
boolean unknownValueAllowed,
100-
boolean userForVisualisation,
100+
boolean usedForVisualisation,
101101
StatisticsCaseSubAttribute... subAttributes) {
102102

103-
this.userForVisualisation = userForVisualisation;
103+
this.usedForVisualisation = usedForVisualisation;
104104
this.attributeGroup = attributeGroup;
105105
this.sortByCaption = sortByCaption;
106106
this.unknownValueAllowed = unknownValueAllowed;
@@ -115,8 +115,8 @@ public boolean isSortByCaption() {
115115
return sortByCaption;
116116
}
117117

118-
public boolean isUserForVisualisation() {
119-
return userForVisualisation;
118+
public boolean isUsedForVisualisation() {
119+
return usedForVisualisation;
120120
}
121121

122122
public boolean isUnknownValueAllowed() {

sormas-ui/src/main/java/de/symeda/sormas/ui/statistics/StatisticsVisualizationElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private void createAndAddComponents() {
8282

8383
// Add attributes belonging to the current group
8484
for (StatisticsCaseAttribute attribute : attributeGroup.getAttributes()) {
85-
if (attribute.isUserForVisualisation()) {
85+
if (attribute.isUsedForVisualisation()) {
8686
Command attributeCommand = selectedItem -> {
8787
resetSubAttributeDropdown();
8888
this.attribute = attribute;

0 commit comments

Comments
 (0)