Repository: reef Updated Branches: refs/heads/master c1317750d -> 46e98f9d7
[REEF-1486] Delete deprecated package o.a.r.wake.storage JIRA: [REEF-1486](https://issues.apache.org/jira/browse/REEF-1486) Pull request: This closes #1071 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/46e98f9d Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/46e98f9d Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/46e98f9d Branch: refs/heads/master Commit: 46e98f9d71a5eab0ac84208df5bc193a5c517ec0 Parents: c131775 Author: Mariia Mykhailova <[email protected]> Authored: Wed Jul 6 13:47:49 2016 -0700 Committer: Sergey Dudoladov <[email protected]> Committed: Wed Jul 13 14:42:03 2016 -0700 ---------------------------------------------------------------------- .../reef/wake/storage/FileIdentifier.java | 54 -------------------- .../reef/wake/storage/StorageIdentifier.java | 30 ----------- .../apache/reef/wake/storage/package-info.java | 22 -------- 3 files changed, 106 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/46e98f9d/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/FileIdentifier.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/FileIdentifier.java b/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/FileIdentifier.java deleted file mode 100644 index 6884714..0000000 --- a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/FileIdentifier.java +++ /dev/null @@ -1,54 +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.reef.wake.storage; - -import java.io.File; -import java.net.URI; -import java.net.URISyntaxException; - -/** - * An identifier has a File URI. - * @deprecated in 0.14 as unused - */ -@Deprecated -public class FileIdentifier implements StorageIdentifier { - private final File f; - - public FileIdentifier(final String s) throws URISyntaxException { - f = new File(new URI(s)); - } - - @Override - public String toString() { - return f.toString(); - } - - @Override - public boolean equals(final Object o) { - if (!(o instanceof FileIdentifier)) { - return false; - } - return f.equals(((FileIdentifier) o).f); - } - - @Override - public int hashCode() { - return f.hashCode(); - } -} http://git-wip-us.apache.org/repos/asf/reef/blob/46e98f9d/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/StorageIdentifier.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/StorageIdentifier.java b/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/StorageIdentifier.java deleted file mode 100644 index 336adc8..0000000 --- a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/StorageIdentifier.java +++ /dev/null @@ -1,30 +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.reef.wake.storage; - -import org.apache.reef.wake.Identifier; - -/** - * @deprecated in 0.13 - */ - -@Deprecated -public interface StorageIdentifier extends Identifier { - -} http://git-wip-us.apache.org/repos/asf/reef/blob/46e98f9d/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/package-info.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/package-info.java b/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/package-info.java deleted file mode 100644 index af2cde4..0000000 --- a/lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/storage/package-info.java +++ /dev/null @@ -1,22 +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. - */ -/** - * Deprecated in 0.14. - */ -package org.apache.reef.wake.storage;
