Skip to content

Instantly share code, notes, and snippets.

View Koziolek's full-sized avatar
⚔️

Koziołek Koziolek

⚔️
View GitHub Profile
@Koziolek
Koziolek / NoPreconditionsCode.java
Created January 2, 2014 18:09
Simple code without Preconditions class
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");