You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2015/09/01 01:14:07 UTC

[11/27] incubator-geode git commit: missed a delete in the previous commit

missed a delete in the previous commit


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/8a7f0621
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/8a7f0621
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/8a7f0621

Branch: refs/heads/feature/GEODE-243
Commit: 8a7f0621a2afa36a578c72309836acc5587c9cc1
Parents: 8c4de60
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Fri Aug 28 14:46:05 2015 -0700
Committer: Darrel Schneider <ds...@pivotal.io>
Committed: Fri Aug 28 14:46:05 2015 -0700

----------------------------------------------------------------------
 .../internal/cache/tier/sockets/TestPut.java    | 53 --------------------
 1 file changed, 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8a7f0621/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/TestPut.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/TestPut.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/TestPut.java
deleted file mode 100755
index a9e8861..0000000
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/TestPut.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*=========================================================================
- * Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
- * This product is protected by U.S. and international copyright
- * and intellectual property laws. Pivotal products are covered by
- * one or more patents listed at http://www.pivotal.io/patents.
- *=========================================================================
- */
- package com.gemstone.gemfire.internal.cache.tier.sockets;
- 
-import java.io.IOException;
-
-import com.gemstone.gemfire.internal.cache.tier.Command;
-import com.gemstone.gemfire.internal.cache.tier.MessageType;
-import com.gemstone.gemfire.internal.cache.tier.sockets.Message;
-import com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection;
-import com.gemstone.gemfire.internal.cache.tier.sockets.BaseCommand;
-
-/**
- * @author Pallavi
- * 
- * TestPut is a dummy command to verify Command handling in BackwardCompatibilityComamndDUnitTest.
- */
-
- public class TestPut implements Command {
-
-   public TestPut() {	
-   }
-			  
-   final public void execute(Message msg, ServerConnection servConn) {
-	 // set flag true - to be checked in test
-	 BackwardCompatibilityCommandDUnitDisabledTest.TEST_PUT_COMMAND_INVOKED = true;
-	 
-	 // write reply to clients 
-	 servConn.setAsTrue(REQUIRES_RESPONSE);
-	 writeReply(msg, servConn);
-	 servConn.setAsTrue(RESPONDED);	 
-   }
-
-   private void writeReply(Message origMsg, ServerConnection servConn) {
-     Message replyMsg = servConn.getReplyMessage();
-     replyMsg.setMessageType(MessageType.REPLY);
-     replyMsg.setNumberOfParts(1);
-     replyMsg.setTransactionId(origMsg.getTransactionId());
-     replyMsg.addBytesPart(BaseCommand.OK_BYTES);
-     try {
-       replyMsg.send();
-     } 
-     catch (IOException ioe){
-       ioe.printStackTrace();
-     }
-   }
- }
-