Currently the template was written for Java 7 (or even 6, I'd say). Now we need Java 8 for the SPHERE.IO JVM SDK, so let's improve the code with all its benefits, such as:
Lambda expressions
Stream
Optional
So let's use the new features whenever using them means an improvement in the code. If the Guava library is used anywhere in the code.
Do not forget to change the test dependency of AssertJ from 2.0.0 to 3.0.0, which is for Java 8.
Currently the template was written for Java 7 (or even 6, I'd say). Now we need Java 8 for the SPHERE.IO JVM SDK, so let's improve the code with all its benefits, such as:
So let's use the new features whenever using them means an improvement in the code. If the Guava library is used anywhere in the code.
Do not forget to change the test dependency of AssertJ from 2.0.0 to 3.0.0, which is for Java 8.