Skip to content

Commit

Permalink
Replacing java time library since it has problems with java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
teixeira-fernando committed Oct 22, 2023
1 parent ccef78d commit 4091a5f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions shipment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@
<artifactId>junit5</artifactId>
<version>4.3.6</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.5</version>
</dependency>

</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import com.ecommerceapp.domain.Order;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import java.util.Date;
import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.LocalDate;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.mongodb.core.mapping.Document;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
import com.ecommerceapp.shipment.repository.OrderShipmentRepository;
import com.ecommerceapp.shipment.service.kafka.MessageListenerShipment;
import com.github.javafaker.Faker;
import java.time.LocalDate;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Optional;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.joda.time.LocalDate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
import com.ecommerceapp.shipment.domain.Location;
import com.ecommerceapp.shipment.domain.OrderShipment;
import com.ecommerceapp.shipment.service.ShipmentService;
import java.time.LocalDate;
import java.util.List;
import java.util.NoSuchElementException;
import org.joda.time.LocalDate;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import com.ecommerceapp.shipment.domain.Location;
import com.ecommerceapp.shipment.domain.OrderShipment;
import com.ecommerceapp.shipment.repository.OrderShipmentRepository;
import java.time.LocalDate;
import java.util.List;
import java.util.Optional;
import org.joda.time.LocalDate;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import com.ecommerceapp.shipment.repository.OrderShipmentRepository;
import com.ecommerceapp.shipment.service.ShipmentService;
import com.ecommerceapp.shipment.service.kafka.MessageListenerShipment;
import java.time.LocalDate;
import java.util.List;
import java.util.Optional;
import org.joda.time.LocalDate;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 4091a5f

Please sign in to comment.