The following document contains the results of PMD's CPD 3.9.
File | Line |
---|---|
org/andromda/cartridges/webservice/metafacades/WSDLTypeLogicImpl.java | 95 |
org/andromda/cartridges/webservice/metafacades/WebServiceLogicImpl.java | 850 |
protected TypeMappings handleGetSchemaMappings() { final String propertyName = WebServiceGlobals.SCHEMA_TYPE_MAPPINGS_URI; Object property = this.getConfiguredProperty(propertyName); TypeMappings mappings = null; String uri = null; if (property instanceof String) { uri = (String)property; try { mappings = TypeMappings.getInstance(uri); mappings.setArraySuffix(this.getArraySuffix()); this.setProperty(propertyName, mappings); } catch (Throwable th) { String errMsg = "Error getting '" + propertyName + "' --> '" + uri + "'"; logger.error(errMsg, th); // don't throw the exception } } else { mappings = (TypeMappings)property; } return mappings; } |