mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 10:51:07 +01:00
Follow styleguide for previous code
As noted by mr. Fry in PR #678 and issue #684
This commit is contained in:
@@ -106,7 +106,7 @@ class PdeTextDocumentService implements TextDocumentService {
|
||||
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()));
|
||||
@@ -117,7 +117,7 @@ class PdeTextDocumentService implements TextDocumentService {
|
||||
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()));
|
||||
|
||||
Reference in New Issue
Block a user