summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Clayton <alex.clayton@isode.com>2016-02-10 15:42:41 (GMT)
committerAlex Clayton <alex.clayton@isode.com>2016-02-10 15:46:34 (GMT)
commit810abab2eb236c68c75025e383609d952af71e4f (patch)
treea341c09452cf723cdfff35f3f971d85145a1cddc /test/com/isode/stroke/filetransfer/DummyFileTransferManager.java
parent2a0022faeefc38a987e3ad55087f3dd45c35a9fb (diff)
downloadstroke-810abab2eb236c68c75025e383609d952af71e4f.zip
stroke-810abab2eb236c68c75025e383609d952af71e4f.tar.bz2
Remove duplicate classes.
There ware duplicate copies of DummyFileTransferManager and DummyFileTransferTransporterFactory in both stroke src and stroke test directories (but within the same package). This was confusing and could cause problems when we come to update the files. This patch removes the copies in the test directory, leaving only the the src directory ones. Test-information: Ran 'make test' everything still builds ok and all tests pass. Change-Id: I112d2b21e1217dcacd619393f81ba008a097e83a
Diffstat (limited to 'test/com/isode/stroke/filetransfer/DummyFileTransferManager.java')
-rw-r--r--test/com/isode/stroke/filetransfer/DummyFileTransferManager.java48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/com/isode/stroke/filetransfer/DummyFileTransferManager.java b/test/com/isode/stroke/filetransfer/DummyFileTransferManager.java
deleted file mode 100644
index d45d9e6..0000000
--- a/test/com/isode/stroke/filetransfer/DummyFileTransferManager.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2011 Tobias Markmann
- * Licensed under the simplified BSD license.
- * See Documentation/Licenses/BSD-simplified.txt for more information.
- */
-/*
- * Copyright (c) 2015 Tarun Gupta.
- * Licensed under the simplified BSD license.
- * See Documentation/Licenses/BSD-simplified.txt for more information.
- */
-
-package com.isode.stroke.filetransfer;
-
-import com.isode.stroke.signals.Signal1;
-import com.isode.stroke.jid.JID;
-import com.isode.stroke.elements.DiscoInfo;
-import com.isode.stroke.elements.S5BProxyRequest;
-import java.util.Date;
-
-public class DummyFileTransferManager extends FileTransferManager {
-
- public DummyFileTransferManager() {
- super();
- }
-
- public OutgoingFileTransfer createOutgoingFileTransfer(
- final JID to,
- final String filepath,
- final String description,
- ReadBytestream bytestream,
- final FileTransferOptions op) {
- return null;
- }
-
- public OutgoingFileTransfer createOutgoingFileTransfer(
- final JID to,
- final String filename,
- final String description,
- final long sizeInBytes,
- final Date lastModified,
- ReadBytestream bytestream,
- final FileTransferOptions op) {
- return null;
- }
-
- public void addS5BProxy(S5BProxyRequest p) {
- }
-} \ No newline at end of file