Merge pull request #1784 from karlmortensen/showSectors

Switch to showing sectors for both start and end
This commit is contained in:
Richard Cordovano 2015-12-28 10:06:10 -05:00
commit 852fc8ac84

View File

@ -64,7 +64,7 @@ public class VolumeNode extends AbstractContentNode<Volume> {
// set name, display name, and icon
String volName = nameForVolume(vol);
long end = vol.getStart() + (vol.getSize() - 1);
long end = vol.getStart() + (vol.getLength() - 1);
String tempVolName = volName + " (" + vol.getDescription() + ": " + vol.getStart() + "-" + end + ")";
this.setDisplayName(tempVolName);