supress eclipse warnings
This commit is contained in:
parent
e26b0e5cc0
commit
fa1c46949f
@ -2,11 +2,9 @@ package de.hsadmin.web;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Hashtable;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.TreeMap;
|
|
||||||
|
|
||||||
import javax.servlet.ServletContext;
|
import javax.servlet.ServletContext;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
@ -288,6 +286,7 @@ public class MainApplication extends Application implements
|
|||||||
moduleProps.put((String) moduleName, propertyList);
|
moduleProps.put((String) moduleName, propertyList);
|
||||||
for (Object property : (Object[]) properties) {
|
for (Object property : (Object[]) properties) {
|
||||||
if (property instanceof Map<?, ?>) {
|
if (property instanceof Map<?, ?>) {
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
Map<String, Object> propertyAsMap = (Map<String, Object>) property;
|
Map<String, Object> propertyAsMap = (Map<String, Object>) property;
|
||||||
Object propertyName = propertyAsMap.get("property");
|
Object propertyName = propertyAsMap.get("property");
|
||||||
if (propertyName instanceof String) {
|
if (propertyName instanceof String) {
|
||||||
|
Loading…
Reference in New Issue
Block a user