You don't apply in terminal. Go into the folder that to repo synced to then navigate to here
guava/src/com/google/common/collect/Maps.java
Once there delete the lines with a minus next to them and add the lines with the plus next to them from the patch link then save.
Sent from my Galaxy Nexus...