Skip to content

Commit

Permalink
upgrade to java 10, remove unused import, update deprecated validator.
Browse files Browse the repository at this point in the history
  • Loading branch information
7-- committed Oct 3, 2018
1 parent 5a74df2 commit 503302e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import com.ewolff.microservice.catalog.CatalogApp;

@RunWith(SpringJUnit4ClassRunner.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.hibernate.validator.constraints.Email;
import javax.validation.constraints.Email;

@Entity
public class Customer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public Collection<Item> findAll() {
return pagedResources.getContent();
}

@SuppressWarnings("unused")
private Collection<Item> getItemsCache() {
return itemsCache;
}
Expand Down
2 changes: 1 addition & 1 deletion microservice-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</modules>

<properties>
<java.version>1.8</java.version>
<java.version>10</java.version>
<spring-cloud.version>Finchley.SR1</spring-cloud.version>
</properties>

Expand Down

0 comments on commit 503302e

Please sign in to comment.