I was going to fix a simple typo in this answer. In its first revision it goes like this:
If you want to get an array of ints, with values form 1 to 10, from a Stream, there is IntStream at your disposal.
So I wanted to change form 1 to 10
to from 1 to 10
. Simple...
However when I edited the answer, I saw this:
As you can see, what should have read as Stream<Integer>
is shown as just Stream
due to <Integer>
being interpreted as HTML (and rejected by the editor) I presume.
If I format things correctly I reveal what the author truly meant. However wouldn't that also invalidate the votes of the public? After such a change, this may or may not be the same answer that people found so useful.
What should I do?