#342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015 the original author or authors.
|
||||
* Copyright 2015-2018 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.
|
||||
@@ -31,7 +31,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
/**
|
||||
* Spring Boot sample application to show the usage of {@link GeoJson} types with Spring Data MongoDB.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
@@ -40,7 +40,7 @@ public class ApplicationConfiguration {
|
||||
|
||||
/**
|
||||
* Read JSON data from disk and insert those stores.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public @Bean AbstractRepositoryPopulatorFactoryBean repositoryPopulator() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015 the original author or authors.
|
||||
* Copyright 2015-2018 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.
|
||||
@@ -34,7 +34,7 @@ public class Store {
|
||||
|
||||
/**
|
||||
* {@code location} is stored in GeoJSON format.
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
* <code>
|
||||
* {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015 the original author or authors.
|
||||
* Copyright 2015-2018 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.
|
||||
@@ -22,7 +22,7 @@ import org.springframework.data.repository.CrudRepository;
|
||||
|
||||
/**
|
||||
* Spring Data repository interface to manage {@link Store} instances.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ interface StoreRepository extends CrudRepository<Store, String> {
|
||||
|
||||
/**
|
||||
* Returns all {@link Store}s located withing the given {@link Polygon}.
|
||||
*
|
||||
*
|
||||
* @param polygon must not be {@literal null}.
|
||||
* @return
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2015-2016 the original author or authors.
|
||||
* Copyright 2015-2018 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.
|
||||
@@ -32,7 +32,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration tests for {@link StoreRepository}.
|
||||
*
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
@@ -48,18 +48,18 @@ public class StoreRepositoryTests {
|
||||
|
||||
/**
|
||||
* Get all the Starbucks stores within the triangle defined by
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
* <ol>
|
||||
* <li>43rd & Ninth</li><li>60th & First</li><li>Fresh Meadows</li>
|
||||
* <ol>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* Using {@code $geoWithin} and {@code $geometry} operators.
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
* <code>
|
||||
* {
|
||||
* {
|
||||
* "location": {
|
||||
* "$geoWithin": {
|
||||
* "geometry": {
|
||||
@@ -77,7 +77,7 @@ public class StoreRepositoryTests {
|
||||
* }
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
*/
|
||||
@Test
|
||||
@@ -87,18 +87,18 @@ public class StoreRepositoryTests {
|
||||
|
||||
/**
|
||||
* The legacy format alternative to {@link #findWithinGeoJsonPolygon()}.
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
* <code>
|
||||
* {
|
||||
* "location" : {
|
||||
* {
|
||||
* "location" : {
|
||||
* "$geoWithin" : {
|
||||
* "$polygon" : [ [ -73.992514, 40.758934 ] , [ -73.961138, 40.760348 ] , [ -73.991658, 40.730006 ] ]
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
*
|
||||
* <pre>
|
||||
*/
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user