[vlma-devel] commit: Fix display bug when removing an adapter. (Adrien Grand )
git version control
git at videolan.org
Sun Oct 12 03:33:16 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Oct 12 03:32:24 2008 +0200| [17110ab492446437e48caa29896a92d47aa0f4d3] | committer: Adrien Grand
Fix display bug when removing an adapter.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=17110ab492446437e48caa29896a92d47aa0f4d3
---
.../web/server/ServerAdapterRemoveController.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveController.java b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveController.java
index 58813a5..781003b 100644
--- a/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveController.java
+++ b/vlma-webapp/src/main/java/org/videolan/vlma/web/server/ServerAdapterRemoveController.java
@@ -81,7 +81,9 @@ public class ServerAdapterRemoveController extends SimpleFormController {
Server server = data.getServer(serverId);
Adapter adapter = null;
for (Adapter a : server.getAdapters()) {
- if (a.getName().equals(arg0.getParameter("adapter")));
+ if (a.getName().equals(arg0.getParameter("adapter"))) {
+ adapter = a;
+ }
}
Map<String, Object> m = new HashMap<String, Object>();
m.put("server", server);
More information about the vlma-devel
mailing list