Remove inline comments

This commit is contained in:
Stuart Boston
2013-11-17 19:46:45 +00:00
parent 796459b816
commit 52c19f98d4
5 changed files with 28 additions and 14 deletions
@@ -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() {