Skip to content

Commit 7e4d837

Browse files
committed
rename methods
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
1 parent 61846cd commit 7e4d837

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

bundles/org.openhab.core/src/main/java/org/openhab/core/util/LightModel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,14 @@ public double configGetMinimumOnBrightness() {
261261
* Configuration: get the Mired that corresponds to the coolest white light supported by the light
262262
*/
263263
public double configGetMiredCoolest() {
264-
return model.cfgGetMiredCoolest();
264+
return model.configGetMiredCoolest();
265265
}
266266

267267
/**
268268
* Configuration: get the Mired that corresponds to the warmest white light supported by the light
269269
*/
270270
public double configGetMiredWarmest() {
271-
return model.cfgGetMiredWarmest();
271+
return model.configGetMiredWarmest();
272272
}
273273

274274
/**

bundles/org.openhab.core/src/main/java/org/openhab/core/util/LightModelAbstractLogicImpl.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,31 +104,31 @@ abstract class LightModelAbstractLogicImpl {
104104
*********************************************************************************/
105105

106106
/**
107-
* Configuration: get the coolest color temperature in Mired
107+
* Configuration: get the step size for IncreaseDecreaseType commands
108108
*/
109-
double cfgGetMiredCoolest() {
110-
return coolestMired;
109+
double configGetIncreaseDecreaseStep() {
110+
return stepSize;
111111
}
112112

113113
/**
114-
* Configuration: get the warmest color temperature in Mired
114+
* Configuration: get the minimum brightness percent to consider as light "ON"
115115
*/
116-
double cfgGetMiredWarmest() {
117-
return warmestMired;
116+
double configGetMinimumOnBrightness() {
117+
return minimumOnBrightness;
118118
}
119119

120120
/**
121-
* Configuration: get the step size for IncreaseDecreaseType commands
121+
* Configuration: get the coolest color temperature in Mired
122122
*/
123-
double configGetIncreaseDecreaseStep() {
124-
return stepSize;
123+
double configGetMiredCoolest() {
124+
return coolestMired;
125125
}
126126

127127
/**
128-
* Configuration: get the minimum brightness percent to consider as light "ON"
128+
* Configuration: get the warmest color temperature in Mired
129129
*/
130-
double configGetMinimumOnBrightness() {
131-
return minimumOnBrightness;
130+
double configGetMiredWarmest() {
131+
return warmestMired;
132132
}
133133

134134
/**

0 commit comments

Comments
 (0)