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 )
205
205
* Configure the {@link EncryptionLevel} to use, use this to control wether the driver uses TLS encryption or not.
206
206
* @param level the TLS level to use
207
207
* @return this builder
208
- * @see #withTrustStrategy(TrustStrategy)
209
208
*/
210
209
public ConfigBuilder withEncryptionLevel ( EncryptionLevel level )
211
210
{
@@ -223,7 +222,6 @@ public ConfigBuilder withEncryptionLevel( EncryptionLevel level )
223
222
* is really Neo4j, there is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
224
223
* <p>
225
224
* 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.
227
225
*
228
226
* @param trustStrategy TLS authentication strategy
229
227
* @return this builder
Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ public interface Record
105
105
* mapping function. You can find a library of common mapping functions in {@link Values}.
106
106
*
107
107
* @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
108
110
* @return this record as a map
109
111
*/
110
112
<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
289
289
// Force implementation
290
290
@ Override
291
291
int hashCode ();
292
+
293
+ //Force implementation
294
+ @ Override
295
+ String toString ();
292
296
}
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ public static Function<Value,Path> ofPath()
442
442
}
443
443
444
444
/**
445
- * Converts values to {@link List< Object> }.
445
+ * Converts values to {@link List} of {@link Object}.
446
446
* @return a function that returns {@link Value#asList()} of a {@link Value}
447
447
*/
448
448
public static Function <Value ,List <Object >> ofList ()
@@ -458,7 +458,7 @@ public List<Object> apply( Value value )
458
458
}
459
459
460
460
/**
461
- * Converts values to {@link List<T>} .
461
+ * Converts values to {@link List} of <tt>T</tt> .
462
462
* @param innerMap converter for the values inside the list
463
463
* @param <T> the type of values inside the list
464
464
* @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