Skip to content

Commit

Permalink
Follow styleguide for previous code
Browse files Browse the repository at this point in the history
As noted by mr. Fry in PR benfry#678 and issue benfry#684
  • Loading branch information
Efratror committed Mar 19, 2023
1 parent cbbb878 commit b3ee57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/processing/mode/java/lsp/PdeTextDocumentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public CompletableFuture<Either<List<? extends Location>, List<? extends Locatio
Optional<PdeAdapter> adapterOptional =
pls.getAdapter(uri);

if(adapterOptional.isEmpty()){
if (adapterOptional.isEmpty()) {
System.out.println("pde adapter not found");
return CompletableFutures.computeAsync(_x -> Either
.forLeft(Collections.emptyList()));
Expand All @@ -117,7 +117,7 @@ public CompletableFuture<Either<List<? extends Location>, List<? extends Locatio
Optional<Integer> optionalJavaOffset = adapter.findJavaOffset(uri,
lineNumber, colNumber);

if(optionalJavaOffset.isEmpty()){
if (optionalJavaOffset.isEmpty()) {
System.out.println("javaOffset not found");
return CompletableFutures.computeAsync(_x -> Either
.forLeft(Collections.emptyList()));
Expand Down

0 comments on commit b3ee57f

Please sign in to comment.