You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/06/20 22:08:24 UTC
[jira] [Commented] (MESOS-1519) Expose constructors of types used
in java APIs
[ https://issues.apache.org/jira/browse/MESOS-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039268#comment-14039268 ]
Bill Farner commented on MESOS-1519:
------------------------------------
Permissions prevent me from assigning this ticket to myself, but i've posted a fix at https://reviews.apache.org/r/22837/
> Expose constructors of types used in java APIs
> ----------------------------------------------
>
> Key: MESOS-1519
> URL: https://issues.apache.org/jira/browse/MESOS-1519
> Project: Mesos
> Issue Type: Improvement
> Components: java api
> Reporter: Bill Farner
> Priority: Minor
>
> The replicated log API declares several java types (e.g. org.apache.mesos.Log.Position, org.apache.mesos.Log.Entry) which have private constructors. This complicates unit testing from a framework's perspective. See https://reviews.apache.org/r/22792 for an example of the hoop-jumping needed to work around this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)