[Schmitzm-commits] r2127 - trunk/schmitzm-core/src/main/java/de/schmitzm/versionnumber

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 9 15:17:19 CET 2012


Author: mojays
Date: 2012-11-09 15:17:19 +0100 (Fri, 09 Nov 2012)
New Revision: 2127

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/versionnumber/ReleaseControl.java
Log:
ReleaseControl: BugFix

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/versionnumber/ReleaseControl.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/versionnumber/ReleaseControl.java	2012-11-09 14:08:32 UTC (rev 2126)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/versionnumber/ReleaseControl.java	2012-11-09 14:17:19 UTC (rev 2127)
@@ -202,7 +202,7 @@
    * Creates a parameters table in database schema.
    * @param conn connection used to create the table
    */
-  public void createParametersTable(Connection conn) throws SQLException {
+  protected void createParametersTable(Connection conn) throws SQLException {
     conn.setAutoCommit(false);
     Statement stmt = conn.createStatement();
     // Create table
@@ -224,9 +224,9 @@
    * build number of the running application.
    * @param conn connection used to update the table
    */
-  protected void updateRequiredVersionInDatabase(Connection conn) throws SQLException {
+  public void updateRequiredVersionInDatabase(Connection conn) throws SQLException {
     String reqVersion = getApplicationReleaseNumber();
-    updateRequiredVersionInDatabase(conn, reqVersion );
+    updateRequiredVersionInDatabase(conn, reqVersion);
   }
 
   /**



More information about the Schmitzm-commits mailing list