[chronojump] Clean warnings (sqlite new/override)



commit 5a60567d407ff88534c9c1ab14ac2d008b35c98d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Dec 20 16:35:04 2021 +0100

    Clean warnings (sqlite new/override)

 src/sqlite/forceSensor.cs | 8 ++++----
 src/sqlite/news.cs        | 2 +-
 src/sqlite/runEncoder.cs  | 4 ++--
 src/sqlite/tagSession.cs  | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/sqlite/forceSensor.cs b/src/sqlite/forceSensor.cs
index e786b836f..35f6562e5 100644
--- a/src/sqlite/forceSensor.cs
+++ b/src/sqlite/forceSensor.cs
@@ -40,7 +40,7 @@ class SqliteForceSensor : Sqlite
         * create and initialize tables
         */
 
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText =
                        "CREATE TABLE " + table + " ( " +
@@ -438,7 +438,7 @@ class SqliteForceSensorExercise : Sqlite
         * create and initialize tables
         */
 
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText =
                        "CREATE TABLE " + table + " ( " +
@@ -706,7 +706,7 @@ class SqliteForceSensorElasticBand : Sqlite
         * Note AUTOINCREMENT should only be used on special situations:
         * https://www.sqlitetutorial.net/sqlite-autoincrement/
         */
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText =
                        "CREATE TABLE " + table + " ( " +
@@ -931,7 +931,7 @@ class SqliteForceSensorRFD : Sqlite
         * create and initialize tables
         */
 
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText = 
                        "CREATE TABLE " + table + " ( " +
diff --git a/src/sqlite/news.cs b/src/sqlite/news.cs
index a9d41a211..1f87f61f6 100644
--- a/src/sqlite/news.cs
+++ b/src/sqlite/news.cs
@@ -46,7 +46,7 @@ class SqliteNews : Sqlite
        //INSERT INTO news VALUES (NULL, 0, 0, "something even more new spare_parts", "una cosa más y más 
nueva spare_parts", "https://chronojump.org/product-category/races/races_spare_parts/";, 
"https://chronojump.org/es/categoria-producto/carreras/productos-_de_carreras_por_separado/";, "Desc of 
spare_parts", "Descripción de spare_parts", 
"https://chronojump.org/wp-content/uploads/2020/10/web-selector-races-PARTS.png";);
 
 
-       protected internal static void createTable ()
+       protected internal static new void createTable ()
        {
                dbcmd.CommandText = 
                        "CREATE TABLE " + table + " ( " +
diff --git a/src/sqlite/runEncoder.cs b/src/sqlite/runEncoder.cs
index 167edb768..9ef6d554c 100644
--- a/src/sqlite/runEncoder.cs
+++ b/src/sqlite/runEncoder.cs
@@ -39,7 +39,7 @@ class SqliteRunEncoder : Sqlite
         * create and initialize tables
         */
 
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText =
                        "CREATE TABLE " + table + " ( " +
@@ -350,7 +350,7 @@ class SqliteRunEncoderExercise : Sqlite
         * create and initialize tables
         */
 
-       protected internal static void createTable()
+       protected internal static new void createTable()
        {
                dbcmd.CommandText =
                        "CREATE TABLE " + table + " ( " +
diff --git a/src/sqlite/tagSession.cs b/src/sqlite/tagSession.cs
index 689621cc8..f3e94ca26 100644
--- a/src/sqlite/tagSession.cs
+++ b/src/sqlite/tagSession.cs
@@ -38,7 +38,7 @@ class SqliteTagSession : Sqlite
         */
        
        
-       protected internal static void createTable ()
+       protected internal static new void createTable ()
        {
                dbcmd.CommandText = 
                        "CREATE TABLE " + table + " ( " +
@@ -139,7 +139,7 @@ class SqliteSessionTagSession : Sqlite
         */
        
        
-       protected internal static void createTable ()
+       protected internal static new void createTable ()
        {
                dbcmd.CommandText = 
                        "CREATE TABLE " + table + " ( " +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]