Import the missing exception and remove the redundant modifier from the public interface
Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/0e52a168 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/0e52a168 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/0e52a168 Branch: refs/heads/REEF-395 Commit: 0e52a168e270a4211a941bf44e746ea48b8f4ea8 Parents: cfd9dd3 Author: Yunseong Lee <[email protected]> Authored: Mon Jun 22 12:34:16 2015 +0900 Committer: Yunseong Lee <[email protected]> Committed: Mon Jun 22 12:34:16 2015 +0900 ---------------------------------------------------------------------- .../src/main/java/org/apache/reef/tang/ClassHierarchy.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/0e52a168/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ClassHierarchy.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ClassHierarchy.java b/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ClassHierarchy.java index 8a95e1e..0a8a3e2 100644 --- a/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ClassHierarchy.java +++ b/lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/ClassHierarchy.java @@ -18,6 +18,7 @@ */ package org.apache.reef.tang; +import org.apache.reef.tang.exceptions.ClassHierarchyException; import org.apache.reef.tang.exceptions.NameResolutionException; import org.apache.reef.tang.types.ClassNode; import org.apache.reef.tang.types.Node; @@ -44,12 +45,12 @@ public interface ClassHierarchy { * @throws NameResolutionException If the class is not found. * @throws ClassHierarchyException If the class does not pass Tang's static analysis. */ - public Node getNode(String fullName) throws NameResolutionException; + Node getNode(String fullName) throws NameResolutionException; /** * @return true if impl is a subclass of inter. */ - public boolean isImplementation(ClassNode<?> inter, ClassNode<?> impl); + boolean isImplementation(ClassNode<?> inter, ClassNode<?> impl); /** * Merge the contents of this ClassHierarchy and the provided one into a new @@ -64,7 +65,7 @@ public interface ClassHierarchy { * ClassHierarchies derived from applications written in different languages * cannot be merged. */ - public ClassHierarchy merge(ClassHierarchy ch); + ClassHierarchy merge(ClassHierarchy ch); /** * Return a reference to the root of the ClassHierarchy. This is needed by
