// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.server.request; import android.content.ContentResolver; import android.content.ContentValues; import com.olio.communication.messages.Message; import com.olio.util.ALog; import java.lang.ref.WeakReference; // Referenced classes of package com.olio.server.request: // RequestsContract private static class messages implements Runnable { private final WeakReference crRef; private final Message messages[]; public void run() { ALog.d("BatchInsert=START", new Object[0]); ContentResolver contentresolver = (ContentResolver)crRef.get(); if (contentresolver != null) { ALog.d("BatchInsert=FETCH_CONTENT_RESOLVER, Status=IS_VALID", new Object[0]); ALog.d("BatchInsert=GATHERING_MESSAGES, Count=%d", new Object[] { Integer.valueOf(messages.length) }); ContentValues acontentvalues[] = new ContentValues[messages.length]; for (int i = 0; i < messages.length; i++) { acontentvalues[i] = ValuesFor(messages[i]); } ALog.d("BatchInsert=ISSUE_INSERT, Uri='Requests.CONTENT_URI', Count=%d", new Object[] { Integer.valueOf(messages.length) }); contentresolver.bulkInsert(_URI, acontentvalues); } else { ALog.d("BatchInsert=FETCH_CONTENT_RESOLVER, Status=IS_NOT_VALID", new Object[0]); } ALog.d("BatchInsert=END", new Object[0]); } public transient (ContentResolver contentresolver, Message amessage[]) { crRef = new WeakReference(contentresolver); messages = amessage; } }