Example usage for org.springframework.util Assert hasText

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

Introduction

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

Prototype

@Deprecated
public static void hasText(@Nullable String text) 

Source Link

Document

Assert that the given String contains valid text content; that is, it must not be null and must contain at least one non-whitespace character.

Usage

From source file:org.redpill.alfresco.ldap.scripts.person.CustomChangePasswordPost.java

@Override
public void afterPropertiesSet() throws Exception {
    Assert.hasText(syncZoneId);
    Assert.notNull(ldapUserService);/* w  w  w  . j av  a2  s  .  co m*/
    Assert.notNull(authorityService);
    Assert.notNull(authenticationService);
}