{"push_id":1476441252,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a65280b47ee68d269dad8c3d5c1fd5c69e2bd9e5","before":"8617ac056dc7891ddb2fc910e176b5f577be1a7a","commits":[{"sha":"a65280b47ee68d269dad8c3d5c1fd5c69e2bd9e5","author":{"name":"Adrian Cole","email":"1250a5b2ec39440f3426b56cafd814c6bc4717bd@users.noreply.github.com"},"message":"Locks down internal methods that create spans (#320)\n\nThis locks down methods that create `c.t.z.gen.Span`, by forcing them\r\nthrough the internal package. By doing so, we know if a span was created\r\nin a deprecated way or not. We also remove temptation to use internal\r\nhooks accidentally (by virtue of not reading docs).\r\n\r\nThis change works by making a package accessor `InternalSpan`, in the\r\nsame way as OkHttp works. In the rare cases we need to create spans for\r\ntest purposes, we need to set the reference using `initializeForTests()`\r\n\r\nThe majority of the code impact is old tests which don't need to create\r\nspans explicitly, but would take effort to port to not do so.","distinct":true,"url":"https://api.github.com/repos/openzipkin/brave/commits/a65280b47ee68d269dad8c3d5c1fd5c69e2bd9e5"}]}
{"actor":{"display_login":"adriancole"}}