[chronojump] SelectRunITypes RunIntervalTypeDistances renamed RunIntervalTypeDistancesString



commit a19ba0b40677f1ae3f5c6b294154b5c6f65f1784
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Aug 31 14:03:01 2022 +0200

    SelectRunITypes RunIntervalTypeDistances renamed RunIntervalTypeDistancesString

 src/exportFiles/sprint.cs   | 2 +-
 src/gui/run.cs              | 2 +-
 src/gui/sprint.cs           | 2 +-
 src/sqlite/usefulObjects.cs | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/exportFiles/sprint.cs b/src/exportFiles/sprint.cs
index 9d8d1919f..2bc45f059 100644
--- a/src/exportFiles/sprint.cs
+++ b/src/exportFiles/sprint.cs
@@ -123,7 +123,7 @@ public class SprintExport : ExportFiles
                        string positions = RunInterval.GetSprintPositions(
                                        ri.DistanceInterval, //distanceInterval. == -1 means variable 
distances
                                        ri.IntervalTimesString,
-                                       SelectRunITypes.RunIntervalTypeDistances(ri.Type, riTypes_l)    // 
distancesString
+                                       SelectRunITypes.RunIntervalTypeDistancesString (ri.Type, riTypes_l)   
  // distancesString
                                        );
                        if(positions == "") //RSAs are discarded
                                continue;
diff --git a/src/gui/run.cs b/src/gui/run.cs
index c0a30bc8f..478bd1ca5 100644
--- a/src/gui/run.cs
+++ b/src/gui/run.cs
@@ -509,7 +509,7 @@ public class EditRunIntervalWindow : EditRunWindow
                {
                        List<object> selectRunITypes_l = SqliteRunIntervalType.SelectRunIntervalTypesNew ("", 
false);
                        if (selectRunITypes_l != null && selectRunITypes_l.Count > 0)
-                               distancesString = SelectRunITypes.RunIntervalTypeDistances (myRun.Type, 
selectRunITypes_l);
+                               distancesString = SelectRunITypes.RunIntervalTypeDistancesString (myRun.Type, 
selectRunITypes_l);
                }
 
                if (distancesString != "")
diff --git a/src/gui/sprint.cs b/src/gui/sprint.cs
index 0da6e93c2..406e6be80 100644
--- a/src/gui/sprint.cs
+++ b/src/gui/sprint.cs
@@ -103,7 +103,7 @@ public partial class ChronoJumpWindow
                        string positions = RunInterval.GetSprintPositions(
                                        Convert.ToDouble(lineSplit[7]), //distanceInterval. == -1 means 
variable distances
                                        intervalTimesString,
-                                       SelectRunITypes.RunIntervalTypeDistances(lineSplit[4], runITypes)     
  //distancesString
+                                       SelectRunITypes.RunIntervalTypeDistancesString (lineSplit[4], 
runITypes)        //distancesString
                                        );
                        if(positions == "")
                                continue;
diff --git a/src/sqlite/usefulObjects.cs b/src/sqlite/usefulObjects.cs
index 936f49eb7..5c55c055a 100644
--- a/src/sqlite/usefulObjects.cs
+++ b/src/sqlite/usefulObjects.cs
@@ -242,7 +242,7 @@ public class SelectRunITypes : SelectRunTypes
                this.DistancesString = distancesString;
        }
 
-       public static string RunIntervalTypeDistances(
+       public static string RunIntervalTypeDistancesString (
                        string runTypeEnglishName, List<object> selectRunITypes_l)
        {
                foreach(SelectRunITypes type in selectRunITypes_l)


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