diff --git a/CHANGELOG.md b/CHANGELOG.md index 5416f26..e9f61bc 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] +### Fixed +- Remove 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..c7960cb 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,26 @@ 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); - } - - public ConvivaAnalyticsIntegration(Player player, - String customerKey, - Context context, - ConvivaConfig config, - ConvivaVideoAnalytics videoAnalytics, - ConvivaAdAnalytics adAnalytics - ) { - this(player, customerKey, context, config, videoAnalytics, adAnalytics, null); + this(player, customerKey, context, config, null, null, 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);