mirror of
https://gitlab.com/sbrl/GalleryShare.git
synced 2018-06-12 22:45:16 +00:00
Tidy up TODOs
This commit is contained in:
parent
50c2fbde18
commit
990d350e9b
2 changed files with 1 additions and 3 deletions
|
@ -57,8 +57,6 @@ namespace GalleryShare.RequestRouter
|
||||||
await xmlData.WriteElementStringAsync(null, "Name", null, "/" + directoryName.Substring(parentServer.ServingDirectory.Length));
|
await xmlData.WriteElementStringAsync(null, "Name", null, "/" + directoryName.Substring(parentServer.ServingDirectory.Length));
|
||||||
await xmlData.WriteElementStringAsync(null, "ItemCount", null, Directory.GetFileSystemEntries(directoryName).Length.ToString());
|
await xmlData.WriteElementStringAsync(null, "ItemCount", null, Directory.GetFileSystemEntries(directoryName).Length.ToString());
|
||||||
|
|
||||||
// TODO: Write out thumbnail url
|
|
||||||
|
|
||||||
await xmlData.WriteEndElementAsync();
|
await xmlData.WriteEndElementAsync();
|
||||||
}
|
}
|
||||||
foreach (string filename in dirFiles)
|
foreach (string filename in dirFiles)
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace GalleryShare
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
// TODO: consider whether derived types are also acceptable.
|
// FUTURE: consider whether derived types are also acceptable.
|
||||||
if (!acceptableExceptions.Contains(ex.GetType()))
|
if (!acceptableExceptions.Contains(ex.GetType()))
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue