Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
abrams27 committed Mar 17, 2022
1 parent 027ace5 commit 78c0064
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
* you may want to use multiple <code>ProjectView</code> sections.
*
* @param <T> type of the mapped entity
* @see org.jetbrains.bsp.bazel.executioncontext.api.entries.mappers.ProjectViewToExecutionContextEntityBaseMapper
* @see
* org.jetbrains.bsp.bazel.executioncontext.api.entries.mappers.ProjectViewToExecutionContextEntityBaseMapper
* @see org.jetbrains.bsp.bazel.executioncontext.api.entries.ExecutionContextEntity
* @see org.jetbrains.bsp.bazel.projectview.model.ProjectView
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
* empty.
*
* @param <T> type of the mapped entity
* @see org.jetbrains.bsp.bazel.executioncontext.api.entries.mappers.ProjectViewToExecutionContextEntityBaseMapper
* @see
* org.jetbrains.bsp.bazel.executioncontext.api.entries.mappers.ProjectViewToExecutionContextEntityBaseMapper
* @see org.jetbrains.bsp.bazel.executioncontext.api.entries.ExecutionContextEntity
* @see org.jetbrains.bsp.bazel.projectview.model.ProjectView
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private Try<InstallationContext.Builder> withJavaPath(
}

private Try<InstallationContext.Builder> withDebuggerAddress(
InstallationContext.Builder builder, ProjectView projectView) {
InstallationContext.Builder builder, ProjectView projectView) {
return debuggerAddressMapper.map(projectView).map(builder::debuggerAddress);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import static org.assertj.core.api.Assertions.assertThat;

import java.nio.file.Paths;
import io.vavr.control.Option;
import java.nio.file.Paths;
import org.jetbrains.bsp.bazel.executioncontext.api.entries.mappers.ProjectViewToExecutionContextEntityMapperException;
import org.jetbrains.bsp.bazel.installationcontext.entities.InstallationContextJavaPathEntity;
import org.jetbrains.bsp.bazel.projectview.model.ProjectView;
Expand Down Expand Up @@ -77,6 +77,7 @@ public void shouldReturnSuccessWithJavaPathFromProjectViewIfJavaPathIsSpecifiedI
.isEqualTo(ProjectViewToExecutionContextEntityMapperException.class);
assertThat(javaPathTry.getCause().getMessage())
.isEqualTo(
"Mapping project view into 'java path' failed! System property 'java.home' is not specified.");
"Mapping project view into 'java path' failed! System property 'java.home' is not"
+ " specified.");
}
}

0 comments on commit 78c0064

Please sign in to comment.