diff --git a/CHANGELOG.md b/CHANGELOG.md index 5416f26..66686c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Removed +- Unintentionally public initializers from `ConvivaAnalyticsIntegration` which were not intended to be public and only meant for testing ## 2.6.0 - 2024-08-13 ### Added diff --git a/conviva/src/main/java/com/bitmovin/analytics/conviva/ConvivaAnalyticsIntegration.java b/conviva/src/main/java/com/bitmovin/analytics/conviva/ConvivaAnalyticsIntegration.java index 2c5d86f..01ab80f 100644 --- a/conviva/src/main/java/com/bitmovin/analytics/conviva/ConvivaAnalyticsIntegration.java +++ b/conviva/src/main/java/com/bitmovin/analytics/conviva/ConvivaAnalyticsIntegration.java @@ -57,42 +57,23 @@ public ConvivaAnalyticsIntegration(Player player, String customerKey, Context co this(player, customerKey, context, new ConvivaConfig()); } - public ConvivaAnalyticsIntegration(Player player, - String customerKey, - Context context, - ConvivaConfig config) { - this(player, customerKey, context, config, null); - } - - public ConvivaAnalyticsIntegration(Player player, - String customerKey, - Context context, - ConvivaConfig config, - ConvivaVideoAnalytics videoAnalytics + public ConvivaAnalyticsIntegration( + Player player, + String customerKey, + Context context, + ConvivaConfig config ) { - this(player, customerKey, context, config, videoAnalytics, null); + this(player, customerKey, context, config, null, null, null); } - public ConvivaAnalyticsIntegration(Player player, - String customerKey, - Context context, - ConvivaConfig config, - ConvivaVideoAnalytics videoAnalytics, - ConvivaAdAnalytics adAnalytics - ) { - this(player, customerKey, context, config, videoAnalytics, adAnalytics, null); - } - - /** - * For testing purposes only. - */ - ConvivaAnalyticsIntegration(Player player, - String customerKey, - Context context, - ConvivaConfig config, - ConvivaVideoAnalytics videoAnalytics, - ConvivaAdAnalytics adAnalytics, - DefaultSsaiApi ssai + ConvivaAnalyticsIntegration( + Player player, + String customerKey, + Context context, + ConvivaConfig config, + ConvivaVideoAnalytics videoAnalytics, + ConvivaAdAnalytics adAnalytics, + DefaultSsaiApi ssai ) { this.bitmovinPlayer = player; this.playerHelper = new BitmovinPlayerHelper(player);