Example usage for org.springframework.util Assert notNull

List of usage examples for org.springframework.util Assert notNull

Introduction

In this page you can find the example usage for org.springframework.util Assert notNull.

Prototype

@Deprecated
public static void notNull(@Nullable Object object) 

Source Link

Document

Assert that an object is not null .

Usage

From source file:com.streamreduce.core.dao.RoleDAO.java

public Set<Role> findAccountRoles(ObjectId accountId) {
    Assert.notNull(accountId);
    return new HashSet<>(ds.find(entityClazz).asList());
}