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
package pl.koziolekweb.guava.preconditions; | |
/** | |
* User: koziolek | |
*/ | |
public class NoPreconditionsCode { | |
public void method(String param1, Integer param2) { | |
if (param1 = null) | |
throw new NullPointerException("Param1 can not be null"); |
NewerOlder