From: David Gageot Date: Wed, 10 Oct 2012 15:40:25 +0000 (+0200) Subject: Fix evaluation warning X-Git-Tag: 3.3~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=640079bab8cb35a25ae814b0a49b8e0be2a3dc7a;p=sonarqube.git Fix evaluation warning --- diff --git a/sonar-server/src/main/webapp/WEB-INF/lib/database_version.rb b/sonar-server/src/main/webapp/WEB-INF/lib/database_version.rb index 2f4870706d4..7ba8d01dcd2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/lib/database_version.rb +++ b/sonar-server/src/main/webapp/WEB-INF/lib/database_version.rb @@ -106,7 +106,7 @@ class DatabaseVersion def self.production? @@production ||= begin - dialect()!='h2' + dialect()!='.h2.' end end end