Skip to content

Commit 3c540d3

Browse files
committed
Update "subclass" in warning messages
1 parent f5f81fa commit 3c540d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/default/weather/weatherprovider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ const WeatherProvider = Class.extend({
4242
// This method should start the API request to fetch the current weather.
4343
// This method should definitely be overwritten in the provider.
4444
fetchCurrentWeather () {
45-
Log.warn(`Weather provider: ${this.providerName} does not subclass the fetchCurrentWeather method.`);
45+
Log.warn(`Weather provider: ${this.providerName} does not override the fetchCurrentWeather method.`);
4646
},
4747

4848
// This method should start the API request to fetch the weather forecast.
4949
// This method should definitely be overwritten in the provider.
5050
fetchWeatherForecast () {
51-
Log.warn(`Weather provider: ${this.providerName} does not subclass the fetchWeatherForecast method.`);
51+
Log.warn(`Weather provider: ${this.providerName} does not override the fetchWeatherForecast method.`);
5252
},
5353

5454
// This method should start the API request to fetch the weather hourly.
5555
// This method should definitely be overwritten in the provider.
5656
fetchWeatherHourly () {
57-
Log.warn(`Weather provider: ${this.providerName} does not subclass the fetchWeatherHourly method.`);
57+
Log.warn(`Weather provider: ${this.providerName} does not override the fetchWeatherHourly method.`);
5858
},
5959

6060
// This returns a WeatherDay object for the current weather.

0 commit comments

Comments
 (0)