THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
Client: netstd
Patch: Jens Geyer
This closes #1767
diff --git a/lib/netstd/Thrift/Protocol/TBinaryProtocol.cs b/lib/netstd/Thrift/Protocol/TBinaryProtocol.cs
index 37bca80..7a0243a 100644
--- a/lib/netstd/Thrift/Protocol/TBinaryProtocol.cs
+++ b/lib/netstd/Thrift/Protocol/TBinaryProtocol.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
@@ -588,7 +588,7 @@
return Encoding.UTF8.GetString(buf, 0, buf.Length);
}
- public class Factory : ITProtocolFactory
+ public class Factory : TProtocolFactory
{
protected bool StrictRead;
protected bool StrictWrite;
@@ -604,10 +604,10 @@
StrictWrite = strictWrite;
}
- public TProtocol GetProtocol(TTransport trans)
+ public override TProtocol GetProtocol(TTransport trans)
{
return new TBinaryProtocol(trans, StrictRead, StrictWrite);
}
}
}
-}
\ No newline at end of file
+}