Minor change.

This commit is contained in:
Dario Solera 2011-01-05 10:55:05 +00:00
parent 318bc854b1
commit 28194105d1
2 changed files with 3 additions and 3 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
// //
// You can specify all the values or you can default the Revision and Build Numbers // You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.4.570")] [assembly: AssemblyVersion("3.0.4.571")]
[assembly: AssemblyFileVersion("3.0.4.570")] [assembly: AssemblyFileVersion("3.0.4.571")]

View file

@ -21,7 +21,7 @@ namespace ScrewTurn.Wiki {
/// Sets the data directory. /// Sets the data directory.
/// </summary> /// </summary>
/// <param name="dataDirectory">The data directory.</param> /// <param name="dataDirectory">The data directory.</param>
protected void SetDataDirectory(string dataDirectory) { public void SetDataDirectory(string dataDirectory) {
lock(_syncLock) { lock(_syncLock) {
if(_dataDirectoryAlreadyRead) throw new InvalidOperationException("Cannot set data directory when it's already been read"); if(_dataDirectoryAlreadyRead) throw new InvalidOperationException("Cannot set data directory when it's already been read");
_dataDirectory = dataDirectory; _dataDirectory = dataDirectory;