StyleCop cleanup

This commit is contained in:
Matthias Mailänder
2013-10-12 11:04:45 +02:00
parent 0b73491e3f
commit 166b727c0b

View File

@@ -89,7 +89,8 @@ namespace OpenRA.FileFormats
public static void Mount(string name, string annotation)
{
var optional = name.StartsWith("~");
if (optional) name = name.Substring(1);
if (optional)
name = name.Substring(1);
// paths starting with ^ are relative to the support dir
if (name.StartsWith("^"))
@@ -115,7 +116,7 @@ namespace OpenRA.FileFormats
public static bool Unmount(IFolder mount)
{
return (MountedFolders.RemoveAll(f => f == mount) > 0);
return MountedFolders.RemoveAll(f => f == mount) > 0;
}
public static void Mount(IFolder mount)