HADOOP-7687 Make getProtocolSignature public (sanjay)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1177002 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sanjay Radia 2011-09-28 18:33:00 +00:00
parent 08db2a139d
commit bfc830caa4
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ Trunk (unreleased changes)
HADOOP-7668. Add a NetUtils method that can tell if an InetAddress HADOOP-7668. Add a NetUtils method that can tell if an InetAddress
belongs to local host. (suresh) belongs to local host. (suresh)
HADOOP-7687 Make getProtocolSignature public (sanjay)
BUGS BUGS
HADOOP-7606. Upgrade Jackson to version 1.7.1 to match the version required HADOOP-7606. Upgrade Jackson to version 1.7.1 to match the version required

View File

@ -199,7 +199,7 @@ public class ProtocolSignature implements Writable {
* @param protocol protocol * @param protocol protocol
* @return the server's protocol signature * @return the server's protocol signature
*/ */
static ProtocolSignature getProtocolSignature( public static ProtocolSignature getProtocolSignature(
int clientMethodsHashCode, int clientMethodsHashCode,
long serverVersion, long serverVersion,
Class<? extends VersionedProtocol> protocol) { Class<? extends VersionedProtocol> protocol) {