Skip to content

Conversation

@Laukkala
Copy link

This PR is separated from #4 to make code review more manageable.
Note that this PR by itself will likely contain references to objects that are not present in this PR. Please refer to PR #4, which contains all objects, in case you need to see how some objects interact.

This PR contains common objects that do not fit any other of the related PRs.
closes #18

@Laukkala Laukkala self-assigned this Jan 15, 2026
@Laukkala Laukkala requested a review from Nefarious46 January 16, 2026 05:18
Copy link

@Nefarious46 Nefarious46 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Main classes looked good with some very minor fixes. I am unsure what to say about unit testing.

}

public ErrorEvent(final Throwable exception, final UUID eventId) {
LOGGER.error("Event_" + eventId, exception);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
LOGGER.error("Event_" + eventId, exception);
LOGGER.error("Event {} with exception {}" , eventId, exception);

I suggest using parameterized logging to avoid string concatination.

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

public class NotebookServerTest extends AbstractNotebookServerTest {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should AbstractNotebookServerTest.java be a fake class?

import java.nio.file.Paths;

// A simple main class for configuring and starting one or more NotebookServer threads.
public class TestServer {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be here? AbstractNoteBookServerTest.java has same contents but more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Common objects

2 participants