Skip to content

Commit

Permalink
Add review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraband committed Oct 1, 2024
1 parent 7ea2974 commit 5bf626e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down Expand Up @@ -82,8 +81,7 @@ public void start() {
protected void pingAllSessions() {
// Only look at handled sessions (handled sessions have a lastActivity)
List<Session> sessions = resourceClient.sessions().list().stream()
.filter(session -> OperatorStatus.HANDLED.equals(session.getStatus().getOperatorStatus()))
.collect(Collectors.toList());
.filter(session -> OperatorStatus.HANDLED.equals(session.getStatus().getOperatorStatus())).toList();
String correlationId = generateCorrelationId();

LOGGER.debug("Pinging sessions: " + sessions);
Expand Down
1 change: 1 addition & 0 deletions java/service/org.eclipse.theia.cloud.service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ When you have the service running in dev mode you can use the `Attach to Service
Check the [OpenAPI documentation](../../../documentation/OpenAPI.md) to see how you can send requests to the service.

_Note_: The landing page will not communicate with this service, as it will be hosted on another address.
Checkout the [testing-page](../../../node/testing-page/README.md) to test requests against the server.

## Packaging and running the application

Expand Down

0 comments on commit 5bf626e

Please sign in to comment.