Skip to content
Snippets Groups Projects

Fixed undefined ordering of the Turtle color array to conform to docs of setzeFarbe(int)

Changed type of the String-Color-Map to LinkedHashMap to guarantee the specified insertion order. The previous type was HashMap, which does not guarantee any specific order. The method javadocs of Turtle#setzeFarbe(int) demand an order of black (0) to yellow (12).

Edited by Huber-Saffer, Lasse

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading