[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v_0.9.30-20-gc16086d

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Tue Oct 4 15:04:51 CEST 2011

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Logback: the generic, reliable, fast and flexible logging framework.".

The branch, master has been updated
       via  c16086d475427676097597cea89460e504ca0cd6 (commit)
       via  54014e65f9f46af3844c24b8e4d5def15e2e6722 (commit)
       via  94c75b9fbf01b9850adcbba2c325747d468f889c (commit)
      from  46490d3c26121f3def3c6d4911ee22abe596e1df (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit c16086d475427676097597cea89460e504ca0cd6
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Tue Oct 4 15:02:51 2011 +0200

    fix LBCORE-218

diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index 5018b38..2fe9431 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -48,6 +48,12 @@
     Pierre Queinnec.
+    <p>Fixed incorrect switch fallthrough while selecting between the
+    H2 and HSQL dialects as reported in <a
+    href="http://jira.qos.ch/browse/LBCORE-218">LBCORE-218</a> by
+    Pierre Queinnec.
+    </p>
     <h3>September 21st, 2011 - Release of version 0.9.30</h3>
     <p>Archive removal can now deal with prolonged periods of


commit 54014e65f9f46af3844c24b8e4d5def15e2e6722
Author: Pierre Queinnec <pierre.queinnec at zenika.com>
Date:   Fri Aug 5 18:57:42 2011 +0800

    Fix the javadoc for the H2 dialect to distinguish from the HSQLDB one.

diff --git a/logback-core/src/main/java/ch/qos/logback/core/db/dialect/H2Dialect.java b/logback-core/src/main/java/ch/qos/logback/core/db/dialect/H2Dialect.java
index a28d2dd..9955f1d 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/db/dialect/H2Dialect.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/db/dialect/H2Dialect.java
@@ -14,7 +14,7 @@
 package ch.qos.logback.core.db.dialect;
- * The HSQLDB dialect.
+ * The H2 dialect.
  * @author Ceki G&uuml;lc&uuml;


commit 94c75b9fbf01b9850adcbba2c325747d468f889c
Author: Pierre Queinnec <pierre.queinnec at zenika.com>
Date:   Fri Aug 5 18:56:43 2011 +0800

    Add a missing break in the switch statement responsible for choosing the SQL dialect.
    This went unnoticed because HSQLDB and H2 dialects are identical as of now.

diff --git a/logback-core/src/main/java/ch/qos/logback/core/db/dialect/DBUtil.java b/logback-core/src/main/java/ch/qos/logback/core/db/dialect/DBUtil.java
index f0cafbf..ba1cf09 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/db/dialect/DBUtil.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/db/dialect/DBUtil.java
@@ -86,6 +86,7 @@ public class DBUtil extends ContextAwareBase {
     case HSQL_DIALECT:
       sqlDialect = new HSQLDBDialect();
+      break;
     case H2_DIALECT:
       sqlDialect = new H2Dialect();


Summary of changes:
 .../ch/qos/logback/core/db/dialect/DBUtil.java     |    1 +
 .../ch/qos/logback/core/db/dialect/H2Dialect.java  |    2 +-
 logback-site/src/site/pages/news.html              |    6 ++++++
 3 files changed, 8 insertions(+), 1 deletions(-)

Logback: the generic, reliable, fast and flexible logging framework.

More information about the logback-dev mailing list