Reformat samples with spring-javaformat 0.0.8
See gh-16418
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,7 +30,8 @@ public class City implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@SequenceGenerator(name = "city_generator", sequenceName = "city_sequence", initialValue = 23)
|
||||
@SequenceGenerator(name = "city_generator", sequenceName = "city_sequence",
|
||||
initialValue = 23)
|
||||
@GeneratedValue(generator = "city_generator")
|
||||
private Long id;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -33,7 +33,8 @@ public class Hotel implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@SequenceGenerator(name = "hotel_generator", sequenceName = "hotel_sequence", initialValue = 28)
|
||||
@SequenceGenerator(name = "hotel_generator", sequenceName = "hotel_sequence",
|
||||
initialValue = 28)
|
||||
@GeneratedValue(generator = "hotel_generator")
|
||||
private Long id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user