Skip to content
Snippets Groups Projects
Commit e06493cb authored by Bjorn Jonsson's avatar Bjorn Jonsson Committed by Andrew Or
Browse files

[MINOR][COMMON] Fix copy-paste oversight in variable naming

## What changes were proposed in this pull request?

JavaUtils.java has methods to convert time and byte strings for internal use, this change renames a variable used in byteStringAs(), from timeError to byteError.

Author: Bjorn Jonsson <bjornjon@gmail.com>

Closes #11695 from bjornjon/master.
parent 9f13f0fc
No related branches found
No related tags found
No related merge requests found
......@@ -236,11 +236,11 @@ public class JavaUtils {
}
} catch (NumberFormatException e) {
String timeError = "Size must be specified as bytes (b), " +
String byteError = "Size must be specified as bytes (b), " +
"kibibytes (k), mebibytes (m), gibibytes (g), tebibytes (t), or pebibytes(p). " +
"E.g. 50b, 100k, or 250m.";
throw new NumberFormatException(timeError + "\n" + e.getMessage());
throw new NumberFormatException(byteError + "\n" + e.getMessage());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment