Fix packages

This commit is contained in:
Alexander Sharov 2018-09-25 21:20:33 +04:00
parent 5807b8cfe5
commit 611b0b1507
25 changed files with 30 additions and 30 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic;
package org.springframework.samples.petclinic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.model;
package org.springframework.samples.petclinic.model;
import java.io.Serializable;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.model;
package org.springframework.samples.petclinic.model;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.model;
package org.springframework.samples.petclinic.model;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

View file

@ -1,5 +1,5 @@
/**
* The classes in this package represent utilities used by the domain.
*/
package main.java.org.springframework.samples.petclinic.model;
package org.springframework.samples.petclinic.model;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import java.util.ArrayList;
import java.util.Collections;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import java.util.Collection;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import java.time.LocalDate;
import java.util.ArrayList;
@ -36,7 +36,7 @@ import org.springframework.beans.support.MutableSortDefinition;
import org.springframework.beans.support.PropertyComparator;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.samples.petclinic.model.NamedEntity;
import main.java.org.springframework.samples.petclinic.visit.Visit;
import org.springframework.samples.petclinic.visit.Visit;
/**
* Simple business object representing a pet.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import java.util.List;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import javax.persistence.Entity;
import javax.persistence.Table;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import java.text.ParseException;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import org.springframework.util.StringUtils;
import org.springframework.validation.Errors;

View file

@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.owner;
package org.springframework.samples.petclinic.owner;
import main.java.org.springframework.samples.petclinic.visit.Visit;
import main.java.org.springframework.samples.petclinic.visit.VisitRepository;
import org.springframework.samples.petclinic.visit.Visit;
import org.springframework.samples.petclinic.visit.VisitRepository;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.WebDataBinder;

View file

@ -1,4 +1,4 @@
package main.java.org.springframework.samples.petclinic.system;
package org.springframework.samples.petclinic.system;
import org.springframework.boot.autoconfigure.cache.JCacheManagerCustomizer;
import org.springframework.cache.annotation.EnableCaching;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.system;
package org.springframework.samples.petclinic.system;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

View file

@ -1,4 +1,4 @@
package main.java.org.springframework.samples.petclinic.system;
package org.springframework.samples.petclinic.system;
import org.springframework.stereotype.Controller;

View file

@ -13,14 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.vet;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Table;
import main.java.org.springframework.samples.petclinic.model.NamedEntity;
import org.springframework.samples.petclinic.model.NamedEntity;
/**
* Models a {@link Vet Vet's} specialty (for example, dentistry).

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.vet;
import java.util.ArrayList;
import java.util.Collections;
@ -31,7 +31,7 @@ import javax.xml.bind.annotation.XmlElement;
import org.springframework.beans.support.MutableSortDefinition;
import org.springframework.beans.support.PropertyComparator;
import main.java.org.springframework.samples.petclinic.model.Person;
import org.springframework.samples.petclinic.model.Person;
/**
* Simple JavaBean domain object representing a veterinarian.

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.vet;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.vet;
import java.util.Collection;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.vet;
import java.util.ArrayList;
import java.util.List;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.visit;
package org.springframework.samples.petclinic.visit;
import java.time.LocalDate;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package main.java.org.springframework.samples.petclinic.visit;
package org.springframework.samples.petclinic.visit;
import java.util.List;