Created
January 16, 2015 20:56
-
-
Save dancinllama/f90d1a21100a81c5caa3 to your computer and use it in GitHub Desktop.
Keep thy code stupid simple (KISS) - good example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public boolean isTrue(boolean myBool){ | |
return myBool; | |
} | |
public Map<Id,Contact> getContactMap(){ | |
return new Map<Id,Contact>([Select Id From Contact]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
public boolean isTrue(boolean mybool){
return myBool
}
public Map<Id,Contact> getContactMap(){
return new Map<Id,Contact>([Select Id From Contact])
}