Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/MAKAR-iOS/MAKAR-BE into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
chaeyeon0130 committed Aug 1, 2024
2 parents 2694a02 + 301635d commit 19745e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/main/java/makar/dev/converter/UserConverter.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package makar.dev.converter;

import makar.dev.domain.Noti;
import makar.dev.domain.Route;
import makar.dev.domain.User;
import makar.dev.dto.response.NotiResponse;
import makar.dev.dto.response.UserResponse;

import java.util.List;

public class UserConverter {

public static UserResponse.HomeDto toRouteSetHomeDto(NotiResponse.NotiListDto notiListDto, Route route){
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/makar/dev/domain/Noti.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public class Noti implements Comparable<Noti>{
@Override
public int compareTo(Noti noti) {
if (noti.getNoti_minute() < noti_minute)
return 1;
else if (noti.getNoti_minute() > noti_minute)
return -1;
else if (noti.getNoti_minute() > noti_minute)
return 1;
return 0;
}
}

0 comments on commit 19745e9

Please sign in to comment.