From fa1c46949feb872d813e12b7d9c7ad83a557077d Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Thu, 23 May 2013 12:25:03 +0200
Subject: [PATCH] supress eclipse warnings

---
 hsarweb/src/de/hsadmin/web/MainApplication.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/hsarweb/src/de/hsadmin/web/MainApplication.java b/hsarweb/src/de/hsadmin/web/MainApplication.java
index 9d7ba26..6478342 100644
--- a/hsarweb/src/de/hsadmin/web/MainApplication.java
+++ b/hsarweb/src/de/hsadmin/web/MainApplication.java
@@ -2,11 +2,9 @@
 
 import java.util.ArrayList;
 import java.util.HashMap;
-import java.util.Hashtable;
 import java.util.List;
 import java.util.Locale;
 import java.util.Map;
-import java.util.TreeMap;
 
 import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;
@@ -288,6 +286,7 @@
 								moduleProps.put((String) moduleName, propertyList);
 								for (Object property : (Object[]) properties) {
 									if (property instanceof Map<?, ?>) {
+										@SuppressWarnings("unchecked")
 										Map<String, Object> propertyAsMap = (Map<String, Object>) property;
 										Object propertyName = propertyAsMap.get("property");
 										if (propertyName instanceof String) {

--
Gitblit v1.9.0-SNAPSHOT