From b1b98d852b1a07bc4e76aa06566e6510d85f082a Mon Sep 17 00:00:00 2001 From: evanchooly Date: Wed, 19 Jun 2024 02:27:52 -0400 Subject: [PATCH] remove action content from javadoc --- .../dev/morphia/test/query/filters/TestCenterSphere.java | 3 --- .../dev/morphia/test/query/filters/TestGeoIntersects.java | 5 ----- .../dev/morphia/test/query/filters/TestMinDistance.java | 8 -------- .../test/java/dev/morphia/test/query/filters/TestNin.java | 3 --- .../java/dev/morphia/test/query/filters/TestType.java | 5 ----- 5 files changed, 24 deletions(-) diff --git a/core/src/test/java/dev/morphia/test/query/filters/TestCenterSphere.java b/core/src/test/java/dev/morphia/test/query/filters/TestCenterSphere.java index 0cfa4a3f396..37336188569 100644 --- a/core/src/test/java/dev/morphia/test/query/filters/TestCenterSphere.java +++ b/core/src/test/java/dev/morphia/test/query/filters/TestCenterSphere.java @@ -13,9 +13,6 @@ public class TestCenterSphere extends FilterTest { /** * test data: dev/morphia/test/query/filters/centerSphere/example1 - * - * db.places.find( { loc: { $geoWithin: { $centerSphere: [ [ -88, 30 ], - * 10/3963.2 ] } } } ) */ @Test(testName = "main") public void testExample1() { diff --git a/core/src/test/java/dev/morphia/test/query/filters/TestGeoIntersects.java b/core/src/test/java/dev/morphia/test/query/filters/TestGeoIntersects.java index 70452211d33..7367df4c3aa 100644 --- a/core/src/test/java/dev/morphia/test/query/filters/TestGeoIntersects.java +++ b/core/src/test/java/dev/morphia/test/query/filters/TestGeoIntersects.java @@ -25,11 +25,6 @@ public void testExample1() { /** * test data: dev/morphia/test/query/filters/geoIntersects/example2 - * - * db.places.find( { loc: { $geoIntersects: { $geometry: { type : "Polygon", - * coordinates: [ [ [ -100, 60 ], [ -100, 0 ], [ -100, -60 ], [ 100, -60 ], [ - * 100, 60 ], [ -100, 60 ] ] ], crs: { type: "name", properties: { name: - * "urn:x-mongodb:crs:strictwinding:EPSG:4326" } } } } } } ) */ @Test(testName = "Intersects a \"Big\" Polygon") public void testExample2() { diff --git a/core/src/test/java/dev/morphia/test/query/filters/TestMinDistance.java b/core/src/test/java/dev/morphia/test/query/filters/TestMinDistance.java index 7389bd04d9b..231407523b3 100644 --- a/core/src/test/java/dev/morphia/test/query/filters/TestMinDistance.java +++ b/core/src/test/java/dev/morphia/test/query/filters/TestMinDistance.java @@ -6,10 +6,6 @@ public class TestMinDistance extends FilterTest { /** * test data: dev/morphia/test/query/filters/minDistance/example1 - * - * db.places.find( { location: { $near : { $geometry: { type: "Point", - * coordinates: [ -73.9667, 40.78 ] }, $minDistance: 1000, $maxDistance: 5000 } - * } } ) */ @Test(testName = "Use with ``$near``") public void testExample1() { @@ -18,10 +14,6 @@ public void testExample1() { /** * test data: dev/morphia/test/query/filters/minDistance/example2 - * - * db.places.find( { location: { $nearSphere: { $geometry: { type : "Point", - * coordinates : [ -73.9667, 40.78 ] }, $minDistance: 1000, $maxDistance: 5000 } - * } } ) */ @Test(testName = "Use with ``$nearSphere``") public void testExample2() { diff --git a/core/src/test/java/dev/morphia/test/query/filters/TestNin.java b/core/src/test/java/dev/morphia/test/query/filters/TestNin.java index 718e3486405..f594fb24bf1 100644 --- a/core/src/test/java/dev/morphia/test/query/filters/TestNin.java +++ b/core/src/test/java/dev/morphia/test/query/filters/TestNin.java @@ -21,9 +21,6 @@ public void testExample1() { /** * test data: dev/morphia/test/query/filters/nin/example2 - * - * db.inventory.updateMany( { tags: { $nin: [ "school" ] } }, { $set: { exclude: - * true } } ) */ @Test(testName = "Select on Elements Not in an Array") public void testExample2() { diff --git a/core/src/test/java/dev/morphia/test/query/filters/TestType.java b/core/src/test/java/dev/morphia/test/query/filters/TestType.java index 04242527c86..c25e1f4a5ed 100644 --- a/core/src/test/java/dev/morphia/test/query/filters/TestType.java +++ b/core/src/test/java/dev/morphia/test/query/filters/TestType.java @@ -18,9 +18,6 @@ public void testExample1() { /** * test data: dev/morphia/test/query/filters/type/example2 - * - * db.grades.find( { classAverage : { $type : [ 2 , 1 ] } } ); db.grades.find( { - * classAverage : { $type : [ "string" , "double" ] } } ); */ @Test(testName = "Querying by Multiple Data Types") public void testExample2() { @@ -29,8 +26,6 @@ public void testExample2() { /** * test data: dev/morphia/test/query/filters/type/example3 - * - * db.restaurants.find( { "grades.grade" : { $type : "minKey" } } ) */ @Test(testName = "Querying by MinKey and MaxKey") public void testExample3() {