@Test public void addNodePathNull() { CommitBuilder builder = new CommitBuilder(ns, null); try { builder.addNode((Path) null); expectNPE(); } catch (NullPointerException e) { } }
@NotNull CommitBuilder addNode(@NotNull Path path) { addNode(new DocumentNodeState(nodeStore, path, new RevisionVector(revision))); return this; }
CommitBuilder { @NotNull CommitBuilder addNode(@NotNull Path path) { addNode(new DocumentNodeState(nodeStore, path, new RevisionVector(revision))); return this; } }
CommitBuilder { @NotNull CommitBuilder addNode(@NotNull Path path) { addNode(new DocumentNodeState(nodeStore, path, new RevisionVector(revision))); return this; } CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @Nullable RevisionVector baseRevision);   CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @NotNull Revision revision,
                  @Nullable RevisionVector baseRevision); }
CommitBuilder { @NotNull CommitBuilder addNode(@NotNull Path path) { addNode(new DocumentNodeState(nodeStore, path, new RevisionVector(revision))); return this; } CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @Nullable RevisionVector baseRevision);   CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @NotNull Revision revision,
                  @Nullable RevisionVector baseRevision);  }
CommitBuilder { @NotNull CommitBuilder addNode(@NotNull Path path) { addNode(new DocumentNodeState(nodeStore, path, new RevisionVector(revision))); return this; } CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @Nullable RevisionVector baseRevision);   CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                  @NotNull Revision revision,
                  @Nullable RevisionVector baseRevision);   }