1
0
Fork 0
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:
Starbeamrainbowlabs 2016-07-17 15:45:09 +01:00
parent 50c2fbde18
commit 990d350e9b
2 changed files with 1 additions and 3 deletions

View file

@ -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)

View file

@ -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;
} }