File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
driver/src/main/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ public ConfigBuilder withSessionLivenessCheckTimeout( long timeout )
205205 * Configure the {@link EncryptionLevel} to use, use this to control wether the driver uses TLS encryption or not.
206206 * @param level the TLS level to use
207207 * @return this builder
208- * @see #withTrustStrategy(TrustStrategy)
209208 */
210209 public ConfigBuilder withEncryptionLevel ( EncryptionLevel level )
211210 {
@@ -223,7 +222,6 @@ public ConfigBuilder withEncryptionLevel( EncryptionLevel level )
223222 * is really Neo4j, there is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
224223 * <p>
225224 * For this reason, there is no option to disable trust verification, if you find this cumbersome you should disable encryption using
226- * {@link #withEncryptionLevel(EncryptionLevel)}. The safety is equivalent and disabling encryption improves latency.
227225 *
228226 * @param trustStrategy TLS authentication strategy
229227 * @return this builder
Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ public interface Record
105105 * mapping function. You can find a library of common mapping functions in {@link Values}.
106106 *
107107 * @see Values for a long list of built-in conversion functions
108+ * @param mapper the mapping function
109+ * @param <T> the type to convert to
108110 * @return this record as a map
109111 */
110112 <T > Map <String , T > asMap ( Function <Value , T > mapper );
Original file line number Diff line number Diff line change @@ -289,4 +289,8 @@ public interface Value extends MapAccessor
289289 // Force implementation
290290 @ Override
291291 int hashCode ();
292+
293+ //Force implementation
294+ @ Override
295+ String toString ();
292296}
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ public static Function<Value,Path> ofPath()
442442 }
443443
444444 /**
445- * Converts values to {@link List< Object> }.
445+ * Converts values to {@link List} of {@link Object}.
446446 * @return a function that returns {@link Value#asList()} of a {@link Value}
447447 */
448448 public static Function <Value ,List <Object >> ofList ()
@@ -458,7 +458,7 @@ public List<Object> apply( Value value )
458458 }
459459
460460 /**
461- * Converts values to {@link List<T>} .
461+ * Converts values to {@link List} of <tt>T</tt> .
462462 * @param innerMap converter for the values inside the list
463463 * @param <T> the type of values inside the list
464464 * @return a function that returns {@link Value#asList(Function)} of a {@link Value}
You can’t perform that action at this time.
0 commit comments