@@ -221,7 +221,9 @@ public long maxConnectionLifetimeMillis() {
221221 }
222222
223223 /**
224- * @return the configured connection timeout value in milliseconds.
224+ * Returns the configured connection timeout value in milliseconds.
225+ *
226+ * @return the configured connection timeout value in milliseconds
225227 */
226228 public int connectionTimeoutMillis () {
227229 return connectionTimeoutMillis ;
@@ -246,14 +248,18 @@ public long connectionAcquisitionTimeoutMillis() {
246248 }
247249
248250 /**
249- * @return indicator for encrypted communication.
251+ * Returns indicator for encrypted communication.
252+ *
253+ * @return indicator for encrypted communication
250254 */
251255 public boolean encrypted () {
252256 return securitySettings .encrypted ();
253257 }
254258
255259 /**
256- * @return the strategy to use to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
260+ * Returns the strategy to use to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
261+ *
262+ * @return the strategy to use to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to
257263 */
258264 public TrustStrategy trustStrategy () {
259265 return securitySettings .trustStrategy ();
@@ -278,7 +284,9 @@ public static ConfigBuilder builder() {
278284 }
279285
280286 /**
281- * @return A config with all default settings
287+ * Returns the config with all default settings.
288+ *
289+ * @return the config with all default settings
282290 */
283291 public static Config defaultConfig () {
284292 return EMPTY ;
@@ -358,7 +366,9 @@ public int eventLoopThreads() {
358366 }
359367
360368 /**
361- * @return if the metrics is enabled or not on this driver.
369+ * Returns whether the metrics is enabled or not on this driver.
370+ *
371+ * @return if the metrics is enabled or not on this driver
362372 */
363373 public boolean isMetricsEnabled () {
364374 return this .metricsAdapter != MetricsAdapter .DEV_NULL ;
@@ -374,6 +384,8 @@ public MetricsAdapter metricsAdapter() {
374384 }
375385
376386 /**
387+ * Returns the user_agent configured for this driver.
388+ *
377389 * @return the user_agent configured for this driver
378390 */
379391 public String userAgent () {
@@ -915,6 +927,7 @@ public enum Strategy {
915927 /**
916928 * The configured certificate files.
917929 */
930+ @ SuppressWarnings ("serial" )
918931 private final List <File > certFiles ;
919932 /**
920933 * The flag indicating if hostname verification is enabled for this trust strategy.
0 commit comments