Implement `DottedVersion.Option#toString()`.
When printed as part of debugging output (for example, with `blaze config`), these values are currently being printed with the default `Object#toString` implementation, producing unusable output like:
```
ios_minimum_os: com.google.devtools.build.lib.rules.apple.DottedVersion$Option@d7fa
```
This change prints the version number instead:
```
ios_minimum_os: 10.0
```
@@ -116,6 +116,11 @@ public final class DottedVersion implements DottedVersionApi<DottedVersion> {
printer.append(version.toString());
}
+ @Override
+ public String toString() {
+ return version.toString();
+ }
+
@Override
public int hashCode() {
return version.stringRepresentation.hashCode();
