[Modify] Polish it

This commit is contained in:
sta 2016-05-17 17:28:52 +09:00
parent 4f13fcb423
commit 1b6e894d6d

View File

@ -392,9 +392,9 @@ namespace WebSocketSharp.Net
/// authenticate a client. /// authenticate a client.
/// </summary> /// </summary>
/// <value> /// <value>
/// A <c>Func&lt;<see cref="IIdentity"/>, <see cref="NetworkCredential"/>&gt;</c> delegate that /// A <c>Func&lt;<see cref="IIdentity"/>, <see cref="NetworkCredential"/>&gt;</c> delegate
/// references the method used to find the credentials. The default value is a function that /// that references the method used to find the credentials. The default value is
/// only returns <see langword="null"/>. /// <see langword="null"/>.
/// </value> /// </value>
/// <exception cref="ObjectDisposedException"> /// <exception cref="ObjectDisposedException">
/// This listener has been closed. /// This listener has been closed.
@ -402,7 +402,7 @@ namespace WebSocketSharp.Net
public Func<IIdentity, NetworkCredential> UserCredentialsFinder { public Func<IIdentity, NetworkCredential> UserCredentialsFinder {
get { get {
CheckDisposed (); CheckDisposed ();
return _userCredFinder ?? (_userCredFinder = id => null); return _userCredFinder;
} }
set { set {