[intellij] when calling Collection.toArray, the length of the passed in array is set to the size of the collection.
[intellij] convert octal literal to decimal literal.
[intellij] misc inspection suggestions applied.