Update samples to make them compatible with Java 7

The main project supports Java 7 or later, but, prior to this commit,
the Spring HATEOAS sample required Java 8. This commit updates updates
the Spring HATEOAS sample to make it compatible with Java 7 and
updates the build configuration of both samples to specify Java 7.

Closes gh-51
This commit is contained in:
Andy Wilkinson
2015-05-05 12:04:33 +01:00
parent 84fe379f64
commit 90bbb5ab9e
11 changed files with 57 additions and 45 deletions

View File

@@ -17,7 +17,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<java.version>1.7</java.version>
</properties>
<dependencies>