You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2017/07/11 20:52:31 UTC
[2/7] ant-ivyde git commit: deprecated and unused class removed
deprecated and unused class removed
Project: http://git-wip-us.apache.org/repos/asf/ant-ivyde/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivyde/commit/6eb38cd3
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivyde/tree/6eb38cd3
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivyde/diff/6eb38cd3
Branch: refs/heads/master
Commit: 6eb38cd3952e9fd7d7708a4285c7b6777a8c53e4
Parents: df5fead
Author: alex-bl <al...@student.uibk.ac.at>
Authored: Sat Jul 8 16:43:26 2017 +0200
Committer: alex-bl <al...@student.uibk.ac.at>
Committed: Sat Jul 8 16:43:26 2017 +0200
----------------------------------------------------------------------
.../cpcontainer/SecuritySetupContainer.java | 55 --------------------
1 file changed, 55 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/6eb38cd3/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/SecuritySetupContainer.java
----------------------------------------------------------------------
diff --git a/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/SecuritySetupContainer.java b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/SecuritySetupContainer.java
deleted file mode 100644
index 3ee3aac..0000000
--- a/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/cpcontainer/SecuritySetupContainer.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 org.apache.ivyde.internal.eclipse.cpcontainer;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.ivyde.eclipse.cp.SecuritySetup;
-@Deprecated
-//TODO: really needed?
-public final class SecuritySetupContainer {
-
- public static final SecuritySetupContainer INSTANCE = new SecuritySetupContainer();
-
- private static List<SecuritySetup> credentials = new ArrayList<SecuritySetup>();
-
- private SecuritySetupContainer() {
-
- }
-
- //test-data
- static{
- credentials = new ArrayList<SecuritySetup>();
- credentials.add(new SecuritySetup("localhost","nexus","admin","secret"));
- credentials.add(new SecuritySetup("arctis","nexus3","adminArctis","secret"));
- credentials.add(new SecuritySetup("remote","nexus repo","adminRemote","secret"));
- }
-
- public static void addEntry(SecuritySetup entry) {
- credentials.add(entry);
- }
-
- public static void removeEntry(SecuritySetup entry) {
- credentials.remove(entry);
- }
-
- public static List<SecuritySetup> getAllCredentials() {
- return credentials;
- }
-}