From 77709755b74bcc852cd511ff833c2827c0f0e1aa Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Thu, 20 Aug 2009 17:18:58 -0700 Subject: [PATCH] - add a reset to EntityIterator to allow it to go back to the beginning - clean up the debug printing of SyncResult --- api/current.xml | 26 +++++++++++++++++++ .../content/AbstractCursorEntityIterator.java | 8 ++++++ .../android/content/ContentProviderNative.java | 8 ++++++ core/java/android/content/ContentResolver.java | 7 ++++++ core/java/android/content/EntityIterator.java | 2 ++ core/java/android/content/IEntityIterator.java | 29 ++++++++++++++++++++++ core/java/android/content/SyncResult.java | 21 ++++++++++------ core/java/android/content/SyncStats.java | 21 +++++++++------- 8 files changed, 105 insertions(+), 17 deletions(-) diff --git a/api/current.xml b/api/current.xml index 6059946c97c4..1b2080c2e24d 100644 --- a/api/current.xml +++ b/api/current.xml @@ -25311,6 +25311,19 @@ visibility="public" > + + + + + + + + 0) sb.append(" numAuthExceptions: ").append(numAuthExceptions); + if (numIoExceptions > 0) sb.append(" numIoExceptions: ").append(numIoExceptions); + if (numParseExceptions > 0) sb.append(" numParseExceptions: ").append(numParseExceptions); + if (numConflictDetectedExceptions > 0) + sb.append(" numConflictDetectedExceptions: ").append(numConflictDetectedExceptions); + if (numInserts > 0) sb.append(" numInserts: ").append(numInserts); + if (numUpdates > 0) sb.append(" numUpdates: ").append(numUpdates); + if (numDeletes > 0) sb.append(" numDeletes: ").append(numDeletes); + if (numEntries > 0) sb.append(" numEntries: ").append(numEntries); + if (numSkippedEntries > 0) sb.append(" numSkippedEntries: ").append(numSkippedEntries); + sb.append("]"); return sb.toString(); } -- 2.11.0