wrong method removed

This commit is contained in:
Gavriil Sitnikov 2016-06-05 17:19:25 +03:00
parent 7d3731ea56
commit 800d6c3622
1 changed files with 0 additions and 5 deletions

View File

@ -35,11 +35,6 @@ public abstract class GoogleJsonModel extends Model {
return object == null || Data.isNull(object);
}
@Nullable
protected static <T> T makeNullable(@Nullable final T data) {
return !isNullOrEmpty(data) ? data : null;
}
protected static void validateNonNull(@Nullable final Object object) throws ValidationException {
if (isNullOrEmpty(object)) {
throw new ValidationException("Not nullable object is null or empty");