[Modify] Polish it

This commit is contained in:
sta
2015-11-27 17:38:37 +09:00
parent ec0ba0a0db
commit b1b728eefd
3 changed files with 9 additions and 11 deletions

View File

@@ -24,9 +24,7 @@ namespace Example2
private string getName ()
{
var name = Context.QueryString["name"];
return !name.IsNullOrEmpty ()
? name
: (_prefix + getNumber ());
return !name.IsNullOrEmpty () ? name : _prefix + getNumber ();
}
private static int getNumber ()