Repository: incubator-reef Updated Branches: refs/heads/master 37746a044 -> b1296922d
[REEF-268] Moved `ConfigurationProvider.java` into Tang This moves the `ConfigurationProvider.java` file into Tang. The earlier commit only did the refactoring. JIRA: [REEF-268](https://issues.apache.org/jira/browse/REEF-268) Pull Request: This closes #154 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/b1296922 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/b1296922 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/b1296922 Branch: refs/heads/master Commit: b1296922d7f08889a0401b3619df4ed8f3dd186a Parents: 37746a0 Author: Markus Weimer <[email protected]> Authored: Mon Apr 20 11:26:33 2015 -0700 Committer: Beysim Sezgin <[email protected]> Committed: Mon Apr 20 11:33:32 2015 -0700 ---------------------------------------------------------------------- .../apache/reef/tang/ConfigurationProvider.java | 30 -------------------- .../apache/reef/tang/ConfigurationProvider.java | 30 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/b1296922/lang/java/reef-common/src/main/java/org/apache/reef/tang/ConfigurationProvider.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-common/src/main/java/org/apache/reef/tang/ConfigurationProvider.java b/lang/java/reef-common/src/main/java/org/apache/reef/tang/ConfigurationProvider.java deleted file mode 100644 index b94a6c6..0000000 --- a/lang/java/reef-common/src/main/java/org/apache/reef/tang/ConfigurationProvider.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.tang; - -/** - * Objects that can provide a Configuration implement this interface. - */ -public interface ConfigurationProvider { - - /** - * @return a Configuration provided by this instance. - */ - Configuration getConfiguration(); -} http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/b1296922/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ConfigurationProvider.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ConfigurationProvider.java b/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ConfigurationProvider.java new file mode 100644 index 0000000..b94a6c6 --- /dev/null +++ b/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ConfigurationProvider.java @@ -0,0 +1,30 @@ +/* + * 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.tang; + +/** + * Objects that can provide a Configuration implement this interface. + */ +public interface ConfigurationProvider { + + /** + * @return a Configuration provided by this instance. + */ + Configuration getConfiguration(); +}
