Skip to content

Commit

Permalink
Feat(#31): 잘못된 메서드 이름 수정
Browse files Browse the repository at this point in the history
from to of
  • Loading branch information
KIMSEI1124 committed Oct 13, 2024
1 parent 207287e commit d0c8416
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ public record OpenWeatherResponse(
long dateTime
) {

public static WeatherResponse ofByWeatherResponse(final int id, final String main, final String desc) {
public static WeatherResponse of(final int id, final String main, final String desc) {
return new WeatherResponse(id, main, desc);
}

public static MainResponse fromByMainResponse(
public static MainResponse of(
final float temp,
final float maxTemp,
final float minTemp
) {
return new MainResponse(temp, maxTemp, minTemp);
}

public static SysResponse fromBySysResponse(
public static SysResponse of(
final long sunrise,
final long sunset
) {
Expand Down

0 comments on commit d0c8416

Please sign in to comment.