Add 'sdk/java-v2/' from commit '55f103e336ca9fb8bf1720d2ef4ee8dd4e221118'
[arvados.git] / sdk / java-v2 / src / main / java / org / arvados / client / api / client / static / git-logo.png
diff --git a/src/main/java/org/arvados/client/api/client/CollectionsApiClient.java b/src/main/java/org/arvados/client/api/client/CollectionsApiClient.java
deleted file mode 100644 (file)
index 141f02d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) The Arvados Authors. All rights reserved.
- *
- * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
- *
- */
-
-package org.arvados.client.api.client;
-
-import org.arvados.client.api.model.Collection;
-import org.arvados.client.api.model.CollectionList;
-import org.arvados.client.config.ConfigProvider;
-import org.slf4j.Logger;
-
-public class CollectionsApiClient extends BaseStandardApiClient<Collection, CollectionList> {
-
-    private static final String RESOURCE = "collections";
-    private final Logger log = org.slf4j.LoggerFactory.getLogger(CollectionsApiClient.class);
-
-    public CollectionsApiClient(ConfigProvider config) {
-        super(config);
-    }
-    
-    @Override
-    public Collection create(Collection type) {
-        Collection newCollection = super.create(type);
-        log.debug(String.format("New collection '%s' with UUID %s has been created", newCollection.getName(), newCollection.getUuid()));
-        return newCollection;
-    }
-
-    @Override
-    String getResource() {
-        return RESOURCE;
-    }
-
-    @Override
-    Class<Collection> getType() {
-        return Collection.class;
-    }
-
-    @Override
-    Class<CollectionList> getListType() {
-        return CollectionList.class;
-    }
-}