Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/18/10 17:23:09 (14 years ago)
Author:
cneumuel
Message:

some small refactorings (#1159)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/ConfigurationManager/UptimeManager.cs

    r4253 r4254  
    1414  public class UptimeManager {
    1515
    16     private AppointmentContainer _appContainer = null;
     16    private AppointmentContainer appContainer = null;
    1717    public AppointmentContainer AppContainer {
    1818      get {
    19         if (_appContainer == null)
     19        if (appContainer == null)
    2020          RestoreFromHDD();
    21         return _appContainer;
     21        return appContainer;
    2222      }
    2323    }   
     
    6565        try {
    6666          r = new StreamReader(path + "calendar.xml");
    67           _appContainer = (AppointmentContainer)s.Deserialize(r);
     67          appContainer = (AppointmentContainer)s.Deserialize(r);
    6868          CalendarAvailable = true;
    6969        }
     
    7171          Logger.Error("Deserialization of Calendar failed", e);
    7272          Logger.Info("Starting with a new one");
    73           _appContainer = new AppointmentContainer();
     73          appContainer = new AppointmentContainer();
    7474          CalendarAvailable = false;
    7575        }
     
    7979        }
    8080      } else {
    81         _appContainer = new AppointmentContainer();
     81        appContainer = new AppointmentContainer();
    8282      }
    8383    }
Note: See TracChangeset for help on using the changeset viewer.