/*
 * Copyright 2013 Basho Technologies Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.basho.riak.client.core.operations.itest;

import com.basho.riak.client.core.RiakFuture;
import com.basho.riak.client.core.RiakFutureListener;
import com.basho.riak.client.core.operations.DeleteOperation;
import com.basho.riak.client.core.operations.ListKeysOperation;
import com.basho.riak.client.core.operations.ResetBucketPropsOperation;
import com.basho.riak.client.core.operations.YzFetchIndexOperation;
import com.basho.riak.client.core.query.Location;
import com.basho.riak.client.core.query.Namespace;
import com.basho.riak.client.core.util.BinaryValue;
import org.junit.After;

import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Semaphore;

/**
 *
 * @author Brian Roach <roach at basho dot com>
 * @since 2.0
 */
public class ITestAutoCleanupBase extends ITestBase
{
    @After
    public void afterTest() throws ExecutionException, InterruptedException
    {
        resetAndEmptyBucket(bucketName);
        if (testBucketType)
        {
            resetAndEmptyBucket(defaultNamespace());
        }
    }

    public static Namespace defaultNamespace()
    {
        return new Namespace(testBucketType ? bucketType : BinaryValue.createFromUtf8(Namespace.DEFAULT_BUCKET_TYPE),
                             bucketName);
    }
}

@@ -693,670 +693,148 @@
 ore.
-RiakFuture;%0Aimport com.basho.riak.client.core.RiakFutureListener;%0Aimport com.basho.riak.client.core.operations.DeleteOperation;%0Aimport com.basho.riak.client.core.operations.ListKeysOperation;%0Aimport com.basho.riak.client.core.operations.ResetBucketPropsOperation;%0Aimport com.basho.riak.client.core.operations.YzFetchIndexOperation;%0Aimport com.basho.riak.client.core.query.Location;%0Aimport com.basho.riak.client.core.query.Namespace;%0Aimport com.basho.riak.client.core.util.BinaryValue;%0Aimport org.junit.After;%0A%0Aimport java.util.List;%0Aimport java.util.concurrent.CountDownLatch;%0Aimport java.util.concurrent.ExecutionException;%0Aimport java.util.concurrent.Semaphore
+query.Namespace;%0Aimport com.basho.riak.client.core.util.BinaryValue;%0Aimport org.junit.After;%0A%0Aimport java.util.concurrent.ExecutionException
 ;%0A%0A/

Remove unnecessary imports