[vlma-devel] commit: Return also an order associated to StreamChannels. (Adrien Maglo )

git version control git at videolan.org
Tue May 20 14:38:04 CEST 2008


vlma | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon May 19 20:55:19 2008 +0200| [2e0ca08de6fb15a466e0c62a0d39a1cbda737e16]

Return also an order associated to StreamChannels.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=2e0ca08de6fb15a466e0c62a0d39a1cbda737e16
---

 .../java/org/videolan/vlma/model/order/Order.java  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vlma-model/src/main/java/org/videolan/vlma/model/order/Order.java b/vlma-model/src/main/java/org/videolan/vlma/model/order/Order.java
index 15ede37..942212a 100644
--- a/vlma-model/src/main/java/org/videolan/vlma/model/order/Order.java
+++ b/vlma-model/src/main/java/org/videolan/vlma/model/order/Order.java
@@ -78,7 +78,8 @@ public abstract class Order {
             return new SatOrder();
         } else if (FilesChannel.class.equals(mediaClass)) {
             return new FilesOrder();
-        }
+        } else if (StreamOrder.class.equals(mediaClass)) {
+            return new StreamOrder();
         return null;
     }
 



More information about the vlma-devel mailing list