@Override public int hashCode() { return toString().hashCode(); }
List<String> effectiveVolumes = Lists.newArrayList(); for (StorageLocation sl : changedVolumes.unchangedLocations) { effectiveVolumes.add(sl.toString()); LOG.error("Failed to add volume: {}", volume, ioe); } else { effectiveVolumes.add(volume.toString()); LOG.info("Successfully added volume: {}", volume);
@Override public int hashCode() { return toString().hashCode(); } }
@Override public int hashCode() { return toString().hashCode(); } }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (obj == null || !(obj instanceof StorageLocation)) { return false; } return toString().equals(obj.toString()); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } else if (obj == null || !(obj instanceof StorageLocation)) { return false; } return toString().equals(obj.toString()); }
List<String> effectiveVolumes = Lists.newArrayList(); for (StorageLocation sl : changedVolumes.unchangedLocations) { effectiveVolumes.add(sl.toString()); LOG.error("Failed to add volume: " + volume, ioe); } else { effectiveVolumes.add(volume.toString()); LOG.info("Successfully added volume: " + volume);
List<String> effectiveVolumes = Lists.newArrayList(); for (StorageLocation sl : changedVolumes.unchangedLocations) { effectiveVolumes.add(sl.toString()); LOG.error("Failed to add volume: " + volume, ioe); } else { effectiveVolumes.add(volume.toString()); LOG.info("Successfully added volume: " + volume);
newDataDirBuf.append(","); newDataDirBuf.append( StorageLocation.parse(volumeDir.toString()).toString());