String (@NotNull Document document) { synchronized (myDocumentToStatusMap) { if (myDocumentToStatusMap.containsKey(document)) { return myDocumentToStatusMap.get(document).toString(); } else { return ""; } } }