Skip to content

Commit

Permalink
Remove some unnecessary specific java 10 dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoDinizMonteiro committed Oct 29, 2018
1 parent 7ae7120 commit 0e64312
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<scope>test</scope>
</dependency>

<!-- To allow use java 10 -->
<!-- Spring 2 issue -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
Expand Down Expand Up @@ -136,7 +136,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<version>2.19.1</version><!--$NO-MVN-MAN-VER$-->
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/quem/me/ajuda/constants/Endpoints.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
public class Endpoints {
public static final String LOGIN_ENDPOINT = "login";
public static final String STUDENT_ENDPONT = "students";
public static final String RATING_ENDPOINT = "rating";
public static final String RATING_ENDPOINT = "ratings";
}
3 changes: 0 additions & 3 deletions src/main/java/quem/me/ajuda/models/Proeficiency.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -20,7 +18,6 @@
@Getter @Setter
@NoArgsConstructor
@EqualsAndHashCode(of = {"discipline"})
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}) // Lombok in probably creating gets/sets for internal properties of string
public class Proeficiency {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/quem/me/ajuda/models/Rating.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
Expand All @@ -23,7 +21,6 @@
@Table(name = "ratings")
@Getter @Setter
@NoArgsConstructor
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}) // Lombok in probably creating gets/sets for internal properties of string
public class Rating {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/quem/me/ajuda/models/Student.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;

Expand All @@ -27,7 +26,6 @@
@EqualsAndHashCode(of = {"registration"})
@ToString
@NoArgsConstructor
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}) // Lombok in probably creating gets/sets for internal properties of string
public class Student {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/quem/me/ajuda/models/TutorInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty.Access;

Expand All @@ -25,7 +24,6 @@
@Entity
@Table(name = "tutor_info")
@Getter @Setter
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}) // Lombok in probably creating gets/sets for internal properties of string
public class TutorInfo {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
Expand Down

0 comments on commit 0e64312

Please sign in to comment.