Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/TemporaryCulture.cs

    r2645 r4068  
    1 using System;
    2 using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
    5 using System.Globalization;
     1using System.Globalization;
    62using System.Threading;
    73
    8 namespace SVM
    9 {
    10     internal static class TemporaryCulture
    11     {
    12         private static CultureInfo _culture;
     4namespace SVM {
     5  internal static class TemporaryCulture {
     6    private static CultureInfo _culture;
    137
    14         public static void Start()
    15         {
    16             _culture = Thread.CurrentThread.CurrentCulture;
    17             Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
    18         }
     8    public static void Start() {
     9      _culture = Thread.CurrentThread.CurrentCulture;
     10      Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
     11    }
    1912
    20         public static void Stop()
    21         {
    22             Thread.CurrentThread.CurrentCulture = _culture;
    23         }
     13    public static void Stop() {
     14      Thread.CurrentThread.CurrentCulture = _culture;
    2415    }
     16  }
    2517}
Note: See TracChangeset for help on using the changeset viewer.