You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by hc...@apache.org on 2014/11/24 11:36:58 UTC
thrift git commit: THRIFT-2849: nodejs - some typos fixed
Repository: thrift
Updated Branches:
refs/heads/master 05fb842f6 -> 28d9315de
THRIFT-2849: nodejs - some typos fixed
Client: Node.JS
Patch: Konrad Grochowski
codespell was trying to make wrong fix, so this had to be applied
manually
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/28d9315d
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/28d9315d
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/28d9315d
Branch: refs/heads/master
Commit: 28d9315de806fed4ce93a020a2ef1bb4a384b2dd
Parents: 05fb842
Author: Konrad Grochowski <hc...@apache.org>
Authored: Mon Nov 24 11:36:20 2014 +0100
Committer: Konrad Grochowski <hc...@apache.org>
Committed: Mon Nov 24 11:36:20 2014 +0100
----------------------------------------------------------------------
lib/nodejs/lib/thrift/server.js | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/28d9315d/lib/nodejs/lib/thrift/server.js
----------------------------------------------------------------------
diff --git a/lib/nodejs/lib/thrift/server.js b/lib/nodejs/lib/thrift/server.js
index 313a800..5453bc8 100644
--- a/lib/nodejs/lib/thrift/server.js
+++ b/lib/nodejs/lib/thrift/server.js
@@ -23,12 +23,12 @@ var ttransport = require('./transport'),
TBinaryProtocol = require('./protocol').TBinaryProtocol;
-/**
- * Create a Thrift server which can serve one or multiple services.
+/**
+ * Create a Thrift server which can serve one or multiple services.
* @param {object} processor - A normal or multiplexedProcessor (must
* be preconstructed with the desired handler).
* @param {ServerOptions} options - Optional additional server configuration.
- * @returns {object} - The Apache Thrift Multipled Server.
+ * @returns {object} - The Apache Thrift Multiplex Server.
*/
exports.createMultiplexServer = function(processor, options) {
var transport = (options && options.transport) ? options.transport : ttransport.TBufferedTransport;
@@ -85,7 +85,7 @@ exports.createMultiplexServer = function(processor, options) {
stream.end();
});
}
-
+
if (options.tls) {
return tls.createServer(options.tls, serverImpl);
} else {
@@ -93,11 +93,11 @@ exports.createMultiplexServer = function(processor, options) {
}
};
-/**
- * Create a single service Apache Thrift server.
+/**
+ * Create a single service Apache Thrift server.
* @param {object} processor - A service class or processor function.
* @param {ServerOptions} options - Optional additional server configuration.
- * @returns {object} - The Apache Thrift Multipled Server.
+ * @returns {object} - The Apache Thrift Multiplex Server.
*/
exports.createServer = function(processor, handler, options) {
if (processor.Processor) {