Resolves checkstyle errors for remaining p (#1091)
* Reduces checkstyle errors in page-object * Reduces checkstyle errors in partial-response * Reduces checkstyle errors in pipeline * Reduces checkstyle errors in poison-pill * Reduces checkstyle errors in priority-queue * Reduces checkstyle errors in private-class-data * Reduces checkstyle errors in property * Reduces checkstyle errors in prototype * Reduces checkstyle errors in proxy
This commit is contained in:
committed by
Ilkka Seppälä
parent
1fdc650545
commit
271d7ae9bd
@@ -24,8 +24,7 @@
|
||||
package com.iluwatar.partialresponse;
|
||||
|
||||
/**
|
||||
* {@link Video} is a entity to serve from server.It contains all video related information..
|
||||
* <p>
|
||||
* {@link Video} is a entity to serve from server.It contains all video related information.
|
||||
*/
|
||||
public class Video {
|
||||
private final Integer id;
|
||||
@@ -36,23 +35,27 @@ public class Video {
|
||||
private final String language;
|
||||
|
||||
/**
|
||||
* @param id video unique id
|
||||
* @param title video title
|
||||
* @param length video length in minutes
|
||||
* @param description video description by publisher
|
||||
* @param director video director name
|
||||
* @param language video language {private, public}
|
||||
* Constructor.
|
||||
*
|
||||
* @param id video unique id
|
||||
* @param title video title
|
||||
* @param len video length in minutes
|
||||
* @param desc video description by publisher
|
||||
* @param director video director name
|
||||
* @param lang video language {private, public}
|
||||
*/
|
||||
public Video(Integer id, String title, Integer length, String description, String director, String language) {
|
||||
public Video(Integer id, String title, Integer len, String desc, String director, String lang) {
|
||||
this.id = id;
|
||||
this.title = title;
|
||||
this.length = length;
|
||||
this.description = description;
|
||||
this.length = len;
|
||||
this.description = desc;
|
||||
this.director = director;
|
||||
this.language = language;
|
||||
this.language = lang;
|
||||
}
|
||||
|
||||
/**
|
||||
* ToString.
|
||||
*
|
||||
* @return json representaion of video
|
||||
*/
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user