Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
@Override public Map<String, TableDescriptor> getAll() throws IOException { Map<String, TableDescriptor> htds = new TreeMap<>(); Map<String, TableDescriptor> allDescriptors = getAllDescriptors(); for (Map.Entry<String, TableDescriptor> entry : allDescriptors .entrySet()) { htds.put(entry.getKey(), entry.getValue()); } return htds; }
The returned map from #getAllDescriptors isn't a inner object so doing the clone is meaningless.