From 4bdcd49eab0fe50a91b5886dc53bbbb2b3199b4e Mon Sep 17 00:00:00 2001 From: Rob Bygrave Date: Fri, 29 Jul 2022 16:46:18 +1200 Subject: [PATCH] Javadoc tidy for Database and DB --- .../src/main/java/io/ebean/Database.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ebean-api/src/main/java/io/ebean/Database.java b/ebean-api/src/main/java/io/ebean/Database.java index a4c9b52a0..7c976eb0c 100644 --- a/ebean-api/src/main/java/io/ebean/Database.java +++ b/ebean-api/src/main/java/io/ebean/Database.java @@ -553,7 +553,7 @@ public interface Database { * txn.commit(); * * } finally { - * txn.end(); + * txn.end(); * } * } * @@ -1285,16 +1285,16 @@ public interface Database { * semantics. * *
{@code
-   *  // set specific transactional scope settings
-   *  TxScope scope = TxScope.requiresNew().setIsolation(TxIsolation.SERIALIZABLE);
+   *   // set specific transactional scope settings
+   *   TxScope scope = TxScope.requiresNew().setIsolation(TxIsolation.SERIALIZABLE);
    *
-   *  database.executeCall(scope, new Callable() {
-   * 	  public String call() {
-   * 		  User u1 = database.find(User.class, 1);
-   * 		  ...
-   * 		  return u1.getEmail();
-   *    }
-   *  });
+   *   database.executeCall(scope, new Callable() {
+   *     public String call() {
+   *       User u1 = database.find(User.class, 1);
+   *       ...
+   *       return u1.getEmail();
+   *     }
+   *   });
    *
    * }
*/