Skip to content

Instantly share code, notes, and snippets.

@leifwickland
Created November 7, 2014 03:27
Show Gist options
  • Save leifwickland/d01511358fa621b0f3ec to your computer and use it in GitHub Desktop.
Save leifwickland/d01511358fa621b0f3ec to your computer and use it in GitHub Desktop.
String.format() call with mismatched args
Unused function argument
aList.length == 0 <- use .isEmpty
Using string interpolation unnecessarily
Calling .toString on Array
Close scala.io.Source
Inferring Nothing
Casting instead of .toByte
Calling .toSeq on a Seq
Calling .toString on a String
Calling .toList on a List
Calling .toMap on a Map
Use JavaConversions, not JavaConverters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment