app/src/main/utils/java/com/randal/aviana/LogUtils.java
/**
     * Print List that won't care about NullPointerException
     *
     * @param list
     *            The List you would like to print.
     */
Print List that won't care about NullPointerException
@param list
The List you would like to print.
Print List that won ' t care about NullPointerException @param list The List you would like to print .
public static<T extends Object> String printList(List<T> list) {
        if (list == null) {
            return "null";
        }
        StringBuilder builder = new StringBuilder("{");
        for (Object o : list) {
            builder.append("[").append(o.toString()).append("];");
        }
        builder.append("}");
        return builder.toString();
    }
public static < T extends Object > String printList ( List < T > list ) { if ( list == null ) { return "null" ; } StringBuilder builder = new StringBuilder ( "{" ) ; for ( Object o : list ) { builder . append ( "[" ) . append ( o . toString ( ) ) . append ( "];" ) ; } builder . append ( "}" ) ; return builder . toString ( ) ; }
Print List that won't care about NullPointerException
 @param list
            The List you would like to print.
Print List that won ' t care about NullPointerException @param list The List you would like to print .