Skip to content

Commit

Permalink
adapt to core StringUtils (#15761)
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
  • Loading branch information
lsiepel authored Oct 19, 2023
1 parent fa94100 commit 5395de2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 121 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.openhab.binding.sensibo.internal.dto.poddetails.TemperatureDTO;
import org.openhab.binding.sensibo.internal.model.SensiboModel;
import org.openhab.binding.sensibo.internal.model.SensiboSky;
import org.openhab.binding.sensibo.internal.util.StringUtils;
import org.openhab.core.library.types.DecimalType;
import org.openhab.core.library.types.OnOffType;
import org.openhab.core.library.types.QuantityType;
Expand All @@ -63,6 +62,7 @@
import org.openhab.core.types.StateDescriptionFragmentBuilder;
import org.openhab.core.types.StateOption;
import org.openhab.core.types.UnDefType;
import org.openhab.core.util.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -105,7 +105,7 @@ private static String beautify(final String camelCaseWording) {
bs.append(t);
}

return StringUtils.capitalizeFully(bs.toString()).trim();
return StringUtils.capitalizeByUnderscore(bs.toString()).trim();
}

private String getMacAddress() {
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 5395de2

Please sign in to comment.