From f65b776a4cd68cff523ef45f64bb211a0d7c7465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Tue, 3 Mar 2020 15:22:59 +0100 Subject: [PATCH] WIP Apply suggestions from code review will be squashed in a few minutes Co-Authored-By: George Gastaldi --- .../io/quarkus/hibernate/orm/panache/PanacheEntityBase.java | 2 +- .../io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java | 2 +- .../java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java | 2 +- .../io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java | 2 +- .../panache/reactive/ReactivePanacheMongoEntityBase.java | 2 +- .../panache/reactive/ReactivePanacheMongoRepositoryBase.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheEntityBase.java b/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheEntityBase.java index 3372cacc4f7fcb..74ed7d23ee51d3 100644 --- a/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheEntityBase.java +++ b/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheEntityBase.java @@ -642,7 +642,7 @@ public static long deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not delete (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public static boolean deleteById(Object id) { diff --git a/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java b/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java index bf53752f4126b9..165d5a6e721dea 100644 --- a/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java +++ b/extensions/panache/hibernate-orm-panache/runtime/src/main/java/io/quarkus/hibernate/orm/panache/PanacheRepositoryBase.java @@ -638,7 +638,7 @@ public default long deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not deleted (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public default boolean deleteById(Object id) { diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java index 7d4ebc36477fbf..be4d2a1169ed9d 100755 --- a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java +++ b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoEntityBase.java @@ -701,7 +701,7 @@ public static long deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not delete (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public static boolean deleteById(Object id) { diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java index 390c74b33362ae..516bdbc6e03ec8 100755 --- a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java +++ b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/PanacheMongoRepositoryBase.java @@ -706,7 +706,7 @@ public default long deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not deleted (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public default boolean deleteById(Object id) { diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoEntityBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoEntityBase.java index eefb76c272b043..4e270800898359 100644 --- a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoEntityBase.java +++ b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoEntityBase.java @@ -712,7 +712,7 @@ public static Uni deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not delete (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public static Uni deleteById(Object id) { diff --git a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoRepositoryBase.java b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoRepositoryBase.java index b0542a0c10dd6a..42fdc3d9ce4765 100644 --- a/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoRepositoryBase.java +++ b/extensions/panache/mongodb-panache/runtime/src/main/java/io/quarkus/mongodb/panache/reactive/ReactivePanacheMongoRepositoryBase.java @@ -708,7 +708,7 @@ public default Uni deleteAll() { * Delete an entity of this type by ID. * * @param id the ID of the entity to delete. - * @return false if the entity is not deleted (not found). + * @return false if the entity was not deleted (not found). */ @GenerateBridge public default Uni deleteById(Object id) {