public class Preconditions2 extends Object
Constructor and Description |
---|
Preconditions2() |
Modifier and Type | Method and Description |
---|---|
static void |
checkNotEmpty(String nullableString)
Will throw an exception if the argument is null or empty.
|
static void |
checkNotEmpty(String nullableString,
String message)
Will throw an exception if the argument is null or empty.
|
public static void checkNotEmpty(String nullableString)
nullableString
- string to verify. Can be null or empty.Copyright © 2009-2012 jclouds. All Rights Reserved.