Skip to content

Commit

Permalink
remove warnings (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladna authored Jul 15, 2019
1 parent 47934c7 commit 4d1c392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void unregisterListeners() {

@Override
public Long getBitrate() {
return Long.valueOf(lastReportedAdBitrate);
return lastReportedAdBitrate;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.kaltura.playkit.MessageBus;
import com.kaltura.playkit.PKEvent;
import com.kaltura.playkit.PKLog;
import com.kaltura.playkit.PKMediaConfig;
import com.kaltura.playkit.PKPlugin;
import com.kaltura.playkit.Player;
import com.kaltura.playkit.PlayerEvent;
import com.kaltura.playkit.plugin.youbora.BuildConfig;
import com.kaltura.playkit.plugins.ads.AdEvent;
import com.kaltura.playkit.plugins.youbora.pluginconfig.YouboraConfig;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ public JsonObject toJson() {
JsonPrimitive username = new JsonPrimitive(getUsername() != null ? getUsername() : "");
JsonPrimitive userType = new JsonPrimitive(getUserType() != null ? getUserType() : "");
JsonPrimitive houseHoldId = new JsonPrimitive(getHouseHoldId() != null ? getHouseHoldId() : "");
JsonPrimitive isObfuscateIP = new JsonPrimitive(isObfuscateIP() ? true : false);
JsonPrimitive httpSecure = new JsonPrimitive(getHttpSecure() ? true : false);
JsonPrimitive isObfuscateIP = new JsonPrimitive(isObfuscateIP());
JsonPrimitive httpSecure = new JsonPrimitive(getHttpSecure());
JsonObject device = getDeviceJsonObject();
JsonObject mediaEntry = getMediaJsonObject();
JsonObject adsEntry = new JsonObject();
Expand Down

0 comments on commit 4d1c392

Please sign in to comment.