commercetools / commercetools-donut

Store template for subscription based ecommerce business model
Other
11 stars 8 forks source link

Rewrite the code Java 8 style #10

Closed lauraluiz closed 9 years ago

lauraluiz commented 9 years ago

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.

lauraluiz commented 9 years ago

Depends on https://github.com/commercetools/sphere-donut/issues/9