THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
Client: netstd
Patch: Jens Geyer
This closes #1767
diff --git a/lib/netstd/Thrift/Protocol/TCompactProtocol.cs b/lib/netstd/Thrift/Protocol/TCompactProtocol.cs
index 9ff640a..e6c5dbd 100644
--- a/lib/netstd/Thrift/Protocol/TCompactProtocol.cs
+++ b/lib/netstd/Thrift/Protocol/TCompactProtocol.cs
@@ -1,4 +1,4 @@
-// Licensed to the Apache Software Foundation(ASF) under one
+// Licensed to the Apache Software Foundation(ASF) under one
// or more contributor license agreements.See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.The ASF licenses this file
@@ -891,9 +891,9 @@
buf[off + 7] = (byte) ((n >> 56) & 0xff);
}
- public class Factory : ITProtocolFactory
+ public class Factory : TProtocolFactory
{
- public TProtocol GetProtocol(TTransport trans)
+ public override TProtocol GetProtocol(TTransport trans)
{
return new TCompactProtocol(trans);
}
@@ -919,4 +919,4 @@
public const byte Struct = 0x0C;
}
}
-}
\ No newline at end of file
+}