-
- /*
- * if (!parameters.containsKey(key)) { Object defaultValue =
- * attr.getValue(); if (defaultValue == null)
- * errors.rejectValue(key, "Not set and no default value"); else
- * parameters.put(key, defaultValue); } else {// contains key Object
- * obj = parameters.get(key); if (attr instanceof RefSpecAttribute)
- * { RefSpecAttribute rsa = (RefSpecAttribute) attr; // TODO: make
- * sure this will not cause pb with OSGi Class targetClass =
- * rsa.getTargetClass(); if
- * (!targetClass.isAssignableFrom(obj.getClass())) {
- * errors.reject(key + " not compatible with target class " +
- * targetClass); } } }
- */