#vulnerable code 
                             public HttpConfig files(String[] filePaths, String inputName, boolean forceRemoveContentTypeChraset) {
		synchronized (getClass()) {
			if(this.map==null){
				this.map= new HashMap<String, Object>();
			}
		}
		map.put(Utils.ENTITY_MULTIPART, filePaths);
		map.put(Utils.ENTITY_MULTIPART+".name", inputName);
		map.put(Utils.ENTITY_MULTIPART+".rmCharset", forceRemoveContentTypeChraset);
		return this;
	} 
                            #location 9 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                             public HttpConfig files(String[] filePaths, String inputName, boolean forceRemoveContentTypeChraset) {
//		synchronized (getClass()) {
//			if(this.map==null){
//				this.map= new HashMap<String, Object>();
//			}
//		}
//		map.put(Utils.ENTITY_MULTIPART, filePaths);
//		map.put(Utils.ENTITY_MULTIPART+".name", inputName);
//		map.put(Utils.ENTITY_MULTIPART+".rmCharset", forceRemoveContentTypeChraset);

		Map<String, Object> m = maps.get();
		if(m==null || m==null){
			m = new HashMap<String, Object>();
		}
		m.put(Utils.ENTITY_MULTIPART, filePaths);
		m.put(Utils.ENTITY_MULTIPART+".name", inputName);
		m.put(Utils.ENTITY_MULTIPART+".rmCharset", forceRemoveContentTypeChraset);
		maps.set(m);
		return this;
	}