Skip to content
代码片段 群组 项目
未验证 提交 f1ff37ef 编辑于 作者: Kevin Pilch's avatar Kevin Pilch 提交者: GitHub
浏览文件

Clean up some stale comments (#10561)

上级 6ca30bbf
No related branches found
No related tags found
无相关合并请求
......@@ -247,7 +247,6 @@ namespace WsProxy {
}
//step one, figure out where did we hit
//lol no, fuck it, let's use fake data
var res_value = res.Value? ["result"]? ["value"];
if (res_value == null || res_value is JValue) {
//Give up and send the original call stack
......
......@@ -71,7 +71,7 @@ namespace WsProxy {
pending.Add (bytes);
if (pending.Count == 1) {
if (current_send != null)
throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send");
throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send");
//Console.WriteLine ("sending {0} bytes", bytes.Length);
current_send = Ws.SendAsync (new ArraySegment<byte> (bytes), WebSocketMessageType.Text, true, token);
return current_send;
......@@ -86,7 +86,7 @@ namespace WsProxy {
if (pending.Count > 0) {
if (current_send != null)
throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send");
throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send");
//Console.WriteLine ("sending more {0} bytes", pending[0].Length);
current_send = Ws.SendAsync (new ArraySegment<byte> (pending [0]), WebSocketMessageType.Text, true, token);
return current_send;
......
......@@ -326,7 +326,7 @@ exit:
WCHAR CA_DATA_DELIM[] = { '^', 0 };
//
// BUGBUG - Prefix will barf on this
// BUGBUG - Prefix will not handle this
// Can I really trust this data hasn't been tampered with?
//
WCHAR *
......@@ -578,4 +578,4 @@ exit:
IISLogWrite(SETUP_LOG_SEVERITY_INFORMATION, L"Error in function %s, hr=0x%x", UNITEXT(__FUNCTION__), hr);
}
return hr;
}
\ No newline at end of file
}
......@@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace MusicStore.Models
{
//[Bind(Include = "FirstName,LastName,Address,City,State,PostalCode,Country,Phone,Email")]
public class Order
{
[BindNever]
......@@ -71,4 +70,4 @@ namespace MusicStore.Models
[BindNever]
public List<OrderDetail> OrderDetails { get; set; }
}
}
\ No newline at end of file
}
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册