[vlma-devel] commit: Adding an adapter didn't work since a change in a package name. ( Adrien Grand )
git version control
git at videolan.org
Sun May 11 12:47:17 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at jpountz.net> | Sun May 11 11:19:36 2008 +0200| [9cd5979c16d8876ef662a694fa2e2dfafa1e652e]
Adding an adapter didn't work since a change in a package name.
This solution should be more robust.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=9cd5979c16d8876ef662a694fa2e2dfafa1e652e
---
.../vlma/web/server/ServersAdapterAdd.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java b/web/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
index ca3e14b..dca7995 100644
--- a/web/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
+++ b/web/src/main/java/org/videolan/vlma/web/server/ServersAdapterAdd.java
@@ -68,11 +68,11 @@ public class ServersAdapterAdd {
public String getType() {
if (type.equals("DVB-S")) {
- return "org.videolan.vlma.common.adapters.DVBS";
+ return org.videolan.vlma.common.adapter.DVBSAdapter.class.getName();
} else if (type.equals("DVB-T")) {
- return "org.videolan.vlma.common.adapters.DVBT";
+ return org.videolan.vlma.common.adapter.DVBTAdapter.class.getName();
} else if (type.equals("Files-Adapter")) {
- return "org.videolan.vlma.common.adapters.FilesAdapter";
+ return org.videolan.vlma.common.adapter.FilesAdapter.class.getName();
}
return type;
}
More information about the vlma-devel
mailing list