reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-15) Unify utils classes
Date Mon, 27 Oct 2014 20:47:34 GMT

     [ https://issues.apache.org/jira/browse/REEF-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Weimer updated REEF-15:
------------------------------
    Description: 
REEF, Tang and Wake (and the several other subprojects) all have various utils packages that
we should unify. For instance, there is a{{Pair}} class in reef-io and reef-common and there
is a {{Tuple}} in reef-io that serves the same purpose.

I propose to move all of these utilities into a common package {{org.apache.reef.utils}} with
subpackages named after standard Java package names. For instance, the {{Pair}}, {{Tuple}}
and {{MonotonicSet}} classes all would be in {{org.apache.reef.utils.collections}}.

Also, those utilities should be in a new submodule called {{reef-utils}} which may not depend
on anything but the JDK. That way, we don't run the risk of blowing up the dependency tree
of current users.

  was:
REEF, Tang and Wake (and the several other subprojects) all have various utils packages that
we should unify. For instance, there is a{{Pair}} class in reef-io and reef-common and there
is a {{Tuple}} in reef-io that serves the same purpose.

I propose to move all of these utilities into a common package {{org.apache.reef.utils}} with
subpackages named after standard Java package names. For instance, the {{Pair}}, {{Tuple}}
and {{MonotonicSet}} classes all would be in {{org.apache.reef.utils.collections}}.


> Unify utils classes
> -------------------
>
>                 Key: REEF-15
>                 URL: https://issues.apache.org/jira/browse/REEF-15
>             Project: REEF
>          Issue Type: Improvement
>          Components: All
>            Reporter: Markus Weimer
>            Priority: Minor
>
> REEF, Tang and Wake (and the several other subprojects) all have various utils packages
that we should unify. For instance, there is a{{Pair}} class in reef-io and reef-common and
there is a {{Tuple}} in reef-io that serves the same purpose.
> I propose to move all of these utilities into a common package {{org.apache.reef.utils}}
with subpackages named after standard Java package names. For instance, the {{Pair}}, {{Tuple}}
and {{MonotonicSet}} classes all would be in {{org.apache.reef.utils.collections}}.
> Also, those utilities should be in a new submodule called {{reef-utils}} which may not
depend on anything but the JDK. That way, we don't run the risk of blowing up the dependency
tree of current users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message