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