Update dependancy versions
This commit is contained in:
@@ -71,8 +71,8 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<distribution.format>zip</distribution.format>
|
||||
<version.jackson>2.5.1</version.jackson>
|
||||
<version.slf4j>1.7.10</version.slf4j>
|
||||
<version.jackson>2.5.2</version.jackson>
|
||||
<version.slf4j>1.7.12</version.slf4j>
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class AbstractIdName extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
public abstract class AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
private static final Logger LOG = LoggerFactory.getLogger(AbstractJsonMapping.class);
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.io.Serializable;
|
||||
@JsonRootName("certification")
|
||||
public class Certification extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Properties
|
||||
@JsonProperty("certification")
|
||||
private String value;
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.List;
|
||||
*/
|
||||
public class FindResults extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("movie_results")
|
||||
private List<MovieBasic> movieResults;
|
||||
|
||||
@@ -28,6 +28,6 @@ import java.io.Serializable;
|
||||
@JsonRootName("genre")
|
||||
public class Genre extends AbstractIdName implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Nothing to override from the base class.
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
@JsonRootName("spoken_language")
|
||||
public class Language extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("iso_639_1")
|
||||
private String isoCode;
|
||||
|
||||
@@ -26,7 +26,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
*/
|
||||
public class StatusCode extends AbstractJsonMapping {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("status_code")
|
||||
private int code;
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.io.Serializable;
|
||||
|
||||
public class Account extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class Artwork extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class ArtworkMedia extends Artwork implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
private MediaType mediaType;
|
||||
@JsonTypeInfo(
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import java.io.Serializable;
|
||||
|
||||
public class TokenAuthorisation extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
@JsonProperty("expires_at")
|
||||
private String expires;
|
||||
@JsonProperty("request_token")
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.io.Serializable;
|
||||
|
||||
public class TokenSession extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
@JsonProperty("session_id")
|
||||
private String sessionId;
|
||||
@JsonProperty("success")
|
||||
|
||||
@@ -27,7 +27,7 @@ import java.util.List;
|
||||
|
||||
public class ChangeKeyItem extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
@JsonProperty("key")
|
||||
private String key;
|
||||
@JsonProperty("items")
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.io.Serializable;
|
||||
|
||||
public class ChangeListItem extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.io.Serializable;
|
||||
|
||||
public class ChangedItem extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
@JsonProperty("action")
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
@JsonRootName("collection")
|
||||
public class Collection extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -32,7 +32,7 @@ import java.util.List;
|
||||
*/
|
||||
public class CollectionInfo extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -32,7 +32,7 @@ import static org.apache.commons.lang3.StringUtils.EMPTY;
|
||||
*/
|
||||
public class Company extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Properties
|
||||
@JsonProperty("id")
|
||||
private int id = 0;
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.yamj.api.common.exception.ApiExceptionType;
|
||||
*/
|
||||
public class Configuration extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("base_url")
|
||||
private String baseUrl;
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.List;
|
||||
|
||||
public class JobDepartment extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Properties
|
||||
@JsonProperty("department")
|
||||
private String department;
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class CreditBasic extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
private CreditType creditType;
|
||||
private MediaType mediaType;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class CreditMovieBasic extends CreditBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("adult")
|
||||
private boolean adult;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class CreditTVBasic extends CreditBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("episode_count")
|
||||
private int episodeCount;
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MediaCredit extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("credit_id")
|
||||
private String creditId;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MediaCreditCast extends MediaCredit implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("cast_id")
|
||||
private int castId = 0;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MediaCreditCrew extends MediaCredit implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("department")
|
||||
private String department;
|
||||
|
||||
@@ -29,6 +29,6 @@ import java.io.Serializable;
|
||||
@JsonRootName("keyword")
|
||||
public class Keyword extends AbstractIdName implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Nothing to override from the base class.
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.List;
|
||||
*/
|
||||
public class ListItem<T> extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class ListItemStatus extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("status_code")
|
||||
private int statusCode;
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class UserList extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class AlternativeTitle implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("iso_3166_1")
|
||||
private String country;
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MediaBasic extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.List;
|
||||
*/
|
||||
public class MediaCreditList extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id = 0;
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MediaState extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class RatedValue extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("value")
|
||||
private float value = -1f;
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class Trailer extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("name")
|
||||
private String name;
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
*/
|
||||
public class Translation extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("english_name")
|
||||
private String englishName;
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class Video extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class MovieBasic extends MediaBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("adult")
|
||||
private boolean adult;
|
||||
|
||||
@@ -59,7 +59,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class MovieInfo extends MovieBasic implements Serializable, Identification, AppendToResponse<MovieMethod> {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("belongs_to_collection")
|
||||
private Collection belongsToCollection;
|
||||
|
||||
@@ -29,6 +29,6 @@ import java.io.Serializable;
|
||||
@JsonRootName("production_company")
|
||||
public class ProductionCompany extends AbstractIdName implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Nothing to override from the base class.
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
@JsonRootName("production_country")
|
||||
public class ProductionCountry extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("iso_3166_1")
|
||||
private String country;
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
*/
|
||||
public class ReleaseInfo extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("iso_3166_1")
|
||||
private String country;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class Network extends AbstractIdName implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
// Nothing to add to base class
|
||||
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class ContentRating implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("iso_3166_1")
|
||||
private String country;
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class CreditInfo extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class ExternalID extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class PersonBasic extends AbstractIdName implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("profile_path")
|
||||
private String profilePath;
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.List;
|
||||
*/
|
||||
public class PersonCreditList<T extends CreditBasic> extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
|
||||
@@ -35,7 +35,7 @@ import java.util.List;
|
||||
*/
|
||||
public class PersonFind extends PersonBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("adult")
|
||||
private Boolean adult;
|
||||
|
||||
@@ -42,7 +42,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class PersonInfo extends PersonBasic implements Serializable, AppendToResponse<PeopleMethod> {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("adult")
|
||||
private boolean adult;
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class Review extends AbstractJsonMapping implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private String id;
|
||||
|
||||
@@ -32,7 +32,7 @@ import java.util.List;
|
||||
*/
|
||||
public class TVBasic extends MediaBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("name")
|
||||
private String name;
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.List;
|
||||
*/
|
||||
public class TVCredit extends AbstractIdName implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("original_name")
|
||||
private String originalName;
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class TVEpisodeBasic extends MediaBasic implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("air_date")
|
||||
private String airDate;
|
||||
|
||||
@@ -44,7 +44,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class TVEpisodeInfo extends TVEpisodeBasic implements Serializable, AppendToResponse<TVEpisodeMethod> {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("crew")
|
||||
private List<MediaCreditCrew> crew;
|
||||
|
||||
@@ -52,7 +52,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class TVInfo extends TVBasic implements Serializable, AppendToResponse<TVMethod> {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("created_by")
|
||||
private List<PersonBasic> createdBy;
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class TVSeasonBasic extends AbstractJsonMapping implements Serializable, Identification {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("id")
|
||||
private int id = -1;
|
||||
|
||||
@@ -42,7 +42,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class TVSeasonInfo extends TVSeasonBasic implements Serializable, AppendToResponse<TVSeasonMethod> {
|
||||
|
||||
private static final long serialVersionUID = 4L;
|
||||
private static final long serialVersionUID = 100L;
|
||||
|
||||
@JsonProperty("name")
|
||||
private String name;
|
||||
|
||||
@@ -58,8 +58,7 @@ public class TestLogger {
|
||||
config.append("sun.net.www.protocol.http.HttpURLConnection.level = OFF").append(CRLF);
|
||||
config.append("org.apache.http.level = SEVERE").append(CRLF);
|
||||
|
||||
InputStream ins = new ByteArrayInputStream(config.toString().getBytes());
|
||||
try {
|
||||
try (InputStream ins = new ByteArrayInputStream(config.toString().getBytes())) {
|
||||
LogManager.getLogManager().readConfiguration(ins);
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Failed to configure log manager due to an IO problem", e);
|
||||
|
||||
Reference in New Issue
Block a user