Remove inline comments
This commit is contained in:
@@ -24,7 +24,10 @@ package com.omertron.themoviedbapi.model;
|
||||
*/
|
||||
public enum ArtworkType {
|
||||
|
||||
POSTER, // Poster artwork
|
||||
BACKDROP, // Fanart/backdrop
|
||||
PROFILE // Person image
|
||||
// Poster artwork
|
||||
POSTER,
|
||||
// Fanart/backdrop
|
||||
BACKDROP,
|
||||
// Person image
|
||||
PROFILE
|
||||
}
|
||||
|
||||
@@ -48,12 +48,17 @@ public class Person extends AbstractJsonMapping {
|
||||
@JsonProperty("profile_path")
|
||||
private String profilePath = DEFAULT_STRING;
|
||||
private PersonType personType = PersonType.PERSON;
|
||||
private String department = DEFAULT_STRING; // Crew
|
||||
private String job = DEFAULT_STRING; // Crew
|
||||
private String character = DEFAULT_STRING; // Cast
|
||||
private int order = -1; // Cast
|
||||
// Crew
|
||||
private String department = DEFAULT_STRING;
|
||||
// Crew
|
||||
private String job = DEFAULT_STRING;
|
||||
// Cast
|
||||
private String character = DEFAULT_STRING;
|
||||
// Cast
|
||||
private int order = -1;
|
||||
@JsonProperty("adult")
|
||||
private boolean adult = false; // Person info
|
||||
// Person info
|
||||
private boolean adult = false;
|
||||
@JsonProperty("also_known_as")
|
||||
private List<String> aka = new ArrayList<String>();
|
||||
@JsonProperty("biography")
|
||||
|
||||
@@ -24,7 +24,10 @@ package com.omertron.themoviedbapi.model;
|
||||
*/
|
||||
public enum PersonType {
|
||||
|
||||
CAST, // A member of the cast
|
||||
CREW, // A member of the crew
|
||||
PERSON // No specific type
|
||||
// A member of the cast
|
||||
CAST,
|
||||
// A member of the crew
|
||||
CREW,
|
||||
// No specific type
|
||||
PERSON
|
||||
}
|
||||
|
||||
@@ -37,7 +37,8 @@ public class Trailer extends AbstractJsonMapping {
|
||||
private String name;
|
||||
private String size;
|
||||
private String source;
|
||||
private String website; // The website of the trailer
|
||||
// The website of the trailer
|
||||
private String website;
|
||||
private String type;
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -51,8 +51,10 @@ public final class WebBrowser {
|
||||
private static String proxyUsername = null;
|
||||
private static String proxyPassword = null;
|
||||
private static String proxyEncodedPassword = null;
|
||||
private static int webTimeoutConnect = 25000; // 25 second timeout
|
||||
private static int webTimeoutRead = 90000; // 90 second timeout
|
||||
// 25 second timeout
|
||||
private static int webTimeoutConnect = 25000;
|
||||
// 90 second timeout
|
||||
private static int webTimeoutRead = 90000;
|
||||
|
||||
// Hide the constructor
|
||||
protected WebBrowser() {
|
||||
|
||||
Reference in New Issue
Block a user