[
https://issues.apache.org/jira/browse/MESOS-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041323#comment-14041323
]
Jie Yu commented on MESOS-1519:
-------------------------------
commit 38f0cade87930bd94b9ff2af08055689649dabbf
Author: Bill Farner <[email protected]>
Date: Mon Jun 23 14:11:32 2014 -0700
Exposed constructors for types declared in Log.java.
This allows java API users to construct objects in tests without extra
hoop-jumping.
This patch also fixed some javadoc errors.
Review: 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
> Assignee: 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)