Skip to content

Commit

Permalink
Add javadoc, spotlessapply
Browse files Browse the repository at this point in the history
Signed-off-by: Neo <neotheprogramist@proton.me>
  • Loading branch information
Uacias authored and neotheprogramist committed Nov 22, 2023
1 parent 5501958 commit 30defd5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ public void markDirty() {
dirty = true;
}

/** Marks the node as clean, indicating that it no longer needs to be persisted. */
@Override
public void markClean() {
dirty = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public void markDirty() {
dirty = true;
}

/** Marks the node as clean, indicating that it no longer needs to be persisted. */
@Override
public void markClean() {
dirty = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,23 @@ public boolean isDirty() {
return false;
}

/**
* Mark the `NullNode` as dirty (not used, no operation).
*
* <p>This method intentionally does nothing.
*/
@Override
public void markClean() {
public void markDirty() {
// do nothing
}

/**
* Mark the `NullNode` as dirty (not used, no operation).
* Marks the node as clean, indicating that it no longer needs to be persisted.
*
* <p>This method intentionally does nothing.
*/
@Override
public void markDirty() {
public void markClean() {
// do nothing
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ public void markDirty() {
// do nothing
}

/**
* Mark the `NullNode` as clean.
*
* <p>This method intentionally does nothing.
*/
@Override
public void markClean() {
// do nothing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public void markDirty() {
dirty = true;
}

/** Marks the node as no longer needs to be persisted */
@Override
public void markClean() {
dirty = false;
Expand Down

0 comments on commit 30defd5

Please sign in to comment.