Mercurial Hosting > junotu
changeset 95:666e6253fbdf
TabBoard/TabCalendarBoard: Don't abort column cards loading even if one of the cards wasn't found
author | Fox |
---|---|
date | Thu, 23 Feb 2023 20:26:50 +0100 |
parents | ce163f6cecdb |
children | d6953ebfbe7e |
files | src/junotu/TabBoard.java src/junotu/TabCalendarBoard.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/junotu/TabBoard.java Wed Feb 22 23:09:46 2023 +0100 +++ b/src/junotu/TabBoard.java Thu Feb 23 20:26:50 2023 +0100 @@ -208,8 +208,8 @@ for( int i = 0; i < cardsSplit.length; i++ ) { if( cardsSplit[i] == null ) { - System.out.print("Column '"+card.titleGet()+"', identifier "+Long.toString(card.identifierGet())+": Failed to retrieve card identifier by index "+Integer.toString(i)+", aborting cards loading. Full cards tag: '"+cardsString+"'\n"); - break; + System.out.print("Column '"+card.titleGet()+"', identifier "+Long.toString(card.identifierGet())+": Failed to retrieve card identifier by index "+Integer.toString(i)+". Full cards tag: '"+cardsString+"'\n"); + continue; } insertCard( cardsSplit[i], -1 );
--- a/src/junotu/TabCalendarBoard.java Wed Feb 22 23:09:46 2023 +0100 +++ b/src/junotu/TabCalendarBoard.java Thu Feb 23 20:26:50 2023 +0100 @@ -211,8 +211,8 @@ for( int i = 0; i < cardsSplit.length; i++ ) { if( cardsSplit[i] == null ) { - System.out.print("Column '"+card.titleGet()+"', identifier "+Long.toString(card.identifierGet())+": Failed to retrieve card identifier by index "+Integer.toString(i)+", aborting cards loading. Full cards tag: '"+cardsString+"'\n"); - break; + System.out.print("Column '"+card.titleGet()+"', identifier "+Long.toString(card.identifierGet())+": Failed to retrieve card identifier by index "+Integer.toString(i)+". Full cards tag: '"+cardsString+"'\n"); + continue; } insertCard( cardsSplit[i], -1 );