-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change
Description
Add convenience method to interface LocalServiceExposer
public static LocalServiceExposer withoutPortMapping(final String host) {
return port -> new InetSocketAddress(host, port);
}Method forRemoteHost() can then be used in the following classes in project udf-debugging-java:
TestSetup- Constructors of
UdfTestSetup
Change constructor of UdfTestSetup
Furthermore the constructor of UdfTestSetup can be simplified into
public UdfTestSetup(final ExasolTestSetup testSetup, final Connection exasolConnection) {
return new UdfTestSetup(testSetup::makeLocalTcpServiceAccessibleFromDatabase,
testSetup.getDefaultBucket(), exasolConnection);
}Metadata
Metadata
Assignees
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change