Skip to content

Commit

Permalink
Fixed import *
Browse files Browse the repository at this point in the history
  • Loading branch information
ospodaryk committed Sep 15, 2023
1 parent 5ac4865 commit 74837dc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
import greencity.entity.EcoNews;
import greencity.entity.EcoNewsComment;
import greencity.entity.User;
import greencity.enums.*;
import greencity.enums.AchievementCategoryType;
import greencity.enums.AchievementType;
import greencity.enums.CommentStatus;
import greencity.enums.Role;
import greencity.enums.RatingCalculationEnum;
import greencity.exception.exceptions.BadRequestException;
import greencity.exception.exceptions.NotFoundException;
import greencity.exception.exceptions.UserHasNoPermissionToAccessException;
Expand Down Expand Up @@ -45,7 +49,6 @@ public class EcoNewsCommentServiceImpl implements EcoNewsCommentService {
private final greencity.rating.RatingCalculation ratingCalculation;
private final HttpServletRequest httpServletRequest;
private final EcoNewsRepo ecoNewsRepo;
private UserService userService;

/**
* Method to save {@link greencity.entity.EcoNewsComment}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
import greencity.dto.user.UserVO;
import greencity.entity.*;
import greencity.entity.localization.TagTranslation;
import greencity.enums.*;
import greencity.enums.AchievementCategoryType;
import greencity.enums.AchievementType;
import greencity.enums.Role;
import greencity.enums.CommentStatus;
import greencity.enums.TagType;
import greencity.enums.RatingCalculationEnum;
import greencity.exception.exceptions.BadRequestException;
import greencity.exception.exceptions.NotFoundException;
import greencity.exception.exceptions.NotSavedException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
import greencity.entity.User;
import greencity.entity.UserShoppingListItem;
import greencity.entity.localization.ShoppingListItemTranslation;
import greencity.enums.*;
import greencity.enums.AchievementCategoryType;
import greencity.enums.AchievementType;
import greencity.enums.HabitAssignStatus;
import greencity.enums.ShoppingListItemStatus;

import java.time.LocalDate;
import java.time.ZonedDateTime;
Expand Down
5 changes: 4 additions & 1 deletion service/src/main/java/greencity/service/UserServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
import greencity.entity.User;
import greencity.enums.Role;
import greencity.enums.UserStatus;
import greencity.exception.exceptions.*;
import greencity.exception.exceptions.BadUpdateRequestException;
import greencity.exception.exceptions.LowRoleLevelException;
import greencity.exception.exceptions.WrongEmailException;
import greencity.exception.exceptions.WrongIdException;
import greencity.repository.UserRepo;

import java.sql.Timestamp;
Expand Down

0 comments on commit 74837dc

Please sign in to comment.