/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.ObjectModelException
 *  org.springframework.transaction.TransactionStatus
 *  org.springframework.transaction.support.TransactionCallbackWithoutResult
 */
package com.l7tech.server.uddi;

import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.server.uddi.UDDICoordinator;
import com.l7tech.server.uddi.j;
import java.util.logging.Level;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallbackWithoutResult;

class au
extends TransactionCallbackWithoutResult {
    final j this$1;
    private static final String a = au.a(6, au.a("dv\u0000T_\u0011UQ`\u0013OD_G\u0001t\u0000TUXEE$\u0010N^XNDw\u0001\u001b^TRWm\u0011^\rBT@p\u0007H\u0003"));

    au(j j2) {
        this.this$1 = j2;
    }

    protected void doInTransactionWithoutResult(TransactionStatus transactionStatus) {
        try {
            this.this$1.this$0.c.d(this.this$1.this$0.d);
        }
        catch (ObjectModelException objectModelException) {
            UDDICoordinator.a.log(Level.WARNING, a, objectModelException);
            transactionStatus.setRollbackOnly();
        }
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x26);
        }
        return cArray;
    }

    /*
     * Handled impossible loop by duplicating code
     * Enabled aggressive block sorting
     */
    private static String a(int n2, char[] cArray) {
        char[] cArray2;
        block11: {
            int n3;
            int n4;
            int n5;
            block10: {
                n5 = n2;
                cArray2 = cArray;
                n4 = cArray.length;
                n3 = 0;
                if (!true) break block10;
                n4 = n4;
                if (n4 <= n3) break block11;
            }
            do {
                n5 = n5;
                cArray2 = cArray2;
                int n6 = n3;
                cArray2[n6] = (char)(cArray2[n6] ^ (n5 ^ (switch (n3 % 7) {
                    case 0 -> 39;
                    case 1 -> 2;
                    case 2 -> 116;
                    case 3 -> 61;
                    case 4 -> 43;
                    case 5 -> 55;
                    default -> 38;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

