diff --git a/bc-catalog-objects/src/com/brightcove/commons/catalog/objects/Video.java b/bc-catalog-objects/src/com/brightcove/commons/catalog/objects/Video.java index 3412f452..165a0bc3 100755 --- a/bc-catalog-objects/src/com/brightcove/commons/catalog/objects/Video.java +++ b/bc-catalog-objects/src/com/brightcove/commons/catalog/objects/Video.java @@ -66,7 +66,7 @@ public class Video { private String adKeys; private List renditions; - private List iosRenditions; + private List iosRenditions; private Rendition videoFullLength; private ItemStateEnum itemState; @@ -299,12 +299,12 @@ else if(nodeName.equals("renditions")){ } } else if(nodeName.equals("IOSRenditions")){ - iosRenditions = new ArrayList(); + iosRenditions = new ArrayList(); Element renditionElement = W3CXMLUtils.getFirstElementChild(child); while(renditionElement != null){ if("iosRendition".equals(renditionElement.getNodeName())){ - iosRendition iosRendition = new iosRendition(renditionElement); + Rendition iosRendition = new Rendition(renditionElement); iosRenditions.add(iosRendition); } @@ -585,12 +585,12 @@ else if("renditions".equals(rootKey)){ } } else if("IOSRenditions".equals(rootKey)){ - iosRenditions = new ArrayList(); + iosRenditions = new ArrayList(); JSONArray rendArray = jsonObj.getJSONArray(rootKey); for(int rendIdx=0;rendIdx renditions){ * @return List of renditions for this Video */ public List getIOSRenditions(){ - return renditions; + return iosRenditions; } /** @@ -1087,7 +1087,7 @@ public List getIOSRenditions(){ * * @param renditions List of renditions for this Video */ - public void setIOSRenditions(List renditions){ + public void setIOSRenditions(List renditions){ this.iosRenditions = renditions; } @@ -2279,7 +2279,7 @@ public JSONObject toJson(EnumSet includeNullFields) throws JSONE } if(iosRenditions != null){ JSONArray jsonRenditions = new JSONArray(); - for(iosRendition iosRendition : iosRenditions){ + for(Rendition iosRendition : iosRenditions){ JSONObject renditionJson = iosRendition.toJson(); jsonRenditions.put(renditionJson); } @@ -2531,7 +2531,7 @@ public Element appendXml(Element root) { Element renditionsElement = doc.createElement("IOSRenditions"); videoElement.appendChild(renditionsElement); - for(iosRendition rendition : iosRenditions){ + for(Rendition rendition : iosRenditions){ rendition.appendXml(renditionsElement, "iosRendition"); } }