src/main/java/de/blau/android/bookmarks/BookmarkIO.java
/**
     * Reads the bookmark file from storage
     *
     * @param context the Android context
     * @return Arraylist containg saved bookmarks
     */
Reads the bookmark file from storage
@param context the Android context
@return Arraylist containg saved bookmarks
Reads the bookmark file from storage @param context the Android context @return Arraylist containg saved bookmarks
@NonNull
    public ArrayList<BookmarksStorage> readList(@NonNull Context context) { 
        ArrayList<BookmarksStorage> savedList = savingHelper.load(context, FILENAME, true);
        if (savedList == null) {
            return this.bookmarksStorage;
        }
        return savedList;
    }
@ NonNull public ArrayList < BookmarksStorage > readList ( @ NonNull Context context ) { ArrayList < BookmarksStorage > savedList = savingHelper . load ( context , FILENAME , true ) ; if ( savedList == null ) { return this . bookmarksStorage ; } return savedList ; }
Reads the bookmark file from storage
 @param context the Android context
 @return Arraylist containg saved bookmarks
Reads the bookmark file from storage @param context the Android context @return Arraylist containg saved bookmarks
// NOSONAR // returns an empty list instead of null