[vlma-devel] commit: Remove unused code. (Adrien Grand )
git version control
git at videolan.org
Fri May 9 23:20:28 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Fri May 9 22:15:18 2008 +0200| [95215efee8e50e177512061f34234776638a6dcd]
Remove unused code.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=95215efee8e50e177512061f34234776638a6dcd
---
.../java/org/videolan/vlma/common/order/Order.java | 25 --------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/core/src/main/java/org/videolan/vlma/common/order/Order.java b/core/src/main/java/org/videolan/vlma/common/order/Order.java
index 44c759c..739cdeb 100644
--- a/core/src/main/java/org/videolan/vlma/common/order/Order.java
+++ b/core/src/main/java/org/videolan/vlma/common/order/Order.java
@@ -61,8 +61,6 @@ public class Order {
*/
private static final int DEFAULT_TELNET_WAIT = 100;
- private static LinkedList<Command> commands = new LinkedList<Command>();
-
private Socket telnetSocket;
private PrintWriter telnetOut;
@@ -127,15 +125,6 @@ public class Order {
}
/**
- * Gets the list of the commands which have been sent to VLM instances.
- *
- * @return
- */
- public static LinkedList<Command> getCommands() {
- return commands;
- }
-
- /**
* Gets the VLM command name associated with this order.
*
* @return the command name
@@ -364,18 +353,4 @@ public class Order {
telnetClose();
}
- /**
- * Cleans the commands list in order it not to be too large.
- *
- * @param size the max size allowed
- */
- public static void cleanCommands(int size) {
- int commandsSize = commands.size();
- if (commandsSize > size) {
- for (int i=0; i < commandsSize - size; i++) {
- commands.removeLast();
- }
- }
- }
-
}
More information about the vlma-devel
mailing list