Add clarification comment in SparseFileContent.Range.toString

Change I34fb07f incorrectly "fixed" the brackets in the `toString`
method, however the usage of [ and ) was intentional, to denote that
the range is inclusive/exclusive.

Add a short comment in the method to prevent the same mistake from
being made again.

Change-Id: Idfe9b560c0cc55bfa4a6ab06fba172d971c3089c
This commit is contained in:
David Pursehouse 2013-02-19 09:53:13 +09:00
parent 17a818f4e9
commit 6c47edac9e

View File

@ -296,6 +296,7 @@ public class SparseFileContent {
@Override
public String toString() {
// Usage of [ and ) is intentional to denote inclusive/exclusive range
return "Range[" + base + "," + end() + ")";
}
}