Java 16 migration for REST examples.

See #606.
This commit is contained in:
Mark Paluch
2021-04-29 10:52:40 +02:00
parent b9c0e501d7
commit af86e0219f
19 changed files with 102 additions and 118 deletions

View File

@@ -49,7 +49,7 @@ public class Order {
* @param orderDate
*/
public Order(String customerId, Date orderDate) {
this(null, customerId, orderDate, new ArrayList<LineItem>());
this(null, customerId, orderDate, new ArrayList<>());
}
/**