99
1010/**
1111 * <p>
12- * The configuration for the Amadeus API client. To initialize, use the builder
13- * as follows:
12+ * The configuration for the Amadeus API client. To initialize, use the builder as follows:
1413 * </p>
1514 *
1615 * <pre>
17- * Amadeus amadeus = Amadeus.builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET").build();
16+ * Amadeus amadeus =
17+ * Amadeus.builder("REPLACE_BY_YOUR_API_KEY", "REPLACE_BY_YOUR_API_SECRET").build();
1818 * </pre>
1919 *
2020 * <p>
2828@ Accessors (chain = true )
2929@ ToString
3030public class Configuration {
31- private static final Params HOSTS = Params .with ("production" , "api.amadeus.com" ).and ("test" , "test.api.amadeus.com" );
31+ private static final Params HOSTS =
32+ Params .with ("production" , "api.amadeus.com" ).and ("test" , "test.api.amadeus.com" );
3233
3334 /**
3435 * The client ID used to authenticate the API calls.
@@ -57,16 +58,15 @@ public class Configuration {
5758 */
5859 private @ Getter @ Setter String logLevel = "silent" ;
5960 /**
60- * The the name of the server API calls are made to, 'production' or 'test'.
61- * Defaults to 'test'
61+ * The the name of the server API calls are made to, 'production' or 'test'. Defaults to 'test'
6262 *
6363 * @param hostname The name of the server API calls are made to
6464 * @return The name of the server API calls are made to
6565 */
6666 private @ Getter String hostname = "test" ;
6767 /**
68- * The optional custom host domain to use for API calls. Defaults to internal
69- * value for 'hostname'.
68+ * The optional custom host domain to use for API calls. Defaults to internal value for
69+ * 'hostname'.
7070 *
7171 * @param host The optional custom host domain to use for API calls.
7272 * @return The optional custom host domain to use for API calls.
@@ -80,24 +80,21 @@ public class Configuration {
8080 */
8181 private @ Getter boolean ssl = true ;
8282 /**
83- * The port to use. Defaults to 443 for an SSL connection, and 80 for a non SSL
84- * connection.
83+ * The port to use. Defaults to 443 for an SSL connection, and 80 for a non SSL connection.
8584 *
8685 * @param port The port to use for the connection
8786 * @return The port to use for the connection
8887 */
8988 private @ Getter @ Setter int port = 443 ;
9089 /**
91- * An optional custom App ID to be passed in the User Agent to the server
92- * (Defaults to null).
90+ * An optional custom App ID to be passed in the User Agent to the server (Defaults to null).
9391 *
9492 * @param customAppId An optional custom App ID
9593 * @return The optional custom App ID
9694 */
9795 private @ Getter @ Setter String customAppId ;
9896 /**
99- * An optional custom App version to be passed in the User Agent to the server
100- * (Defaults to null).
97+ * An optional custom App version to be passed in the User Agent to the server (Defaults to null).
10198 *
10299 * @param customAppVersion An optional custom App version
103100 * @return The optional custom App version
@@ -120,8 +117,7 @@ public Amadeus build() throws NullPointerException {
120117 }
121118
122119 /**
123- * The the name of the server API calls are made to, 'production' or 'test'.
124- * Defaults to 'test'.
120+ * The the name of the server API calls are made to, 'production' or 'test'. Defaults to 'test'.
125121 *
126122 * @param hostname The name of the server API calls are made to
127123 * @return The name of the server API calls are made to
0 commit comments