From 95a325539c941d27d3e9b52144b71d97bd04817c Mon Sep 17 00:00:00 2001 From: thk123 Date: Tue, 31 Jul 2012 16:08:17 +0100 Subject: [PATCH] stopped saving throwing exception if the file doesn't exist - KB --- .../dimappers/android/pub/AppUserArray.java | 2 +- .../dimappers/android/pub/CurrentEvents.java | 1 - .../src/dimappers/android/pub/StoredData.java | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Source/App/src/dimappers/android/pub/AppUserArray.java b/Source/App/src/dimappers/android/pub/AppUserArray.java index 088407d..41077d0 100644 --- a/Source/App/src/dimappers/android/pub/AppUserArray.java +++ b/Source/App/src/dimappers/android/pub/AppUserArray.java @@ -70,7 +70,7 @@ public void readXml(Element element) { List friendsElements = element.getChild(friendsTag).getChildren(AppUser.class.getSimpleName()); internalArray = new AppUser[friendsElements.size()]; - for(int i = 0; i<=friendsElements.size(); i++) + for(int i = 0; i