Skip to content

Commit

Permalink
(#23) Rename AtomicCount to ObjectCount
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciofx committed Dec 7, 2023
1 parent 11a2e49 commit 9960006
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*
* @since 0.0.1
*/
public final class AtomicCount implements Count {
public final class ObjectCount implements Count {
/**
* Seed.
*/
Expand All @@ -39,7 +39,7 @@ public final class AtomicCount implements Count {
/**
* Ctor.
*/
public AtomicCount() {
public ObjectCount() {
this(new AtomicInteger(1));
}

Expand All @@ -48,7 +48,7 @@ public AtomicCount() {
*
* @param seed Seed to start counting
*/
public AtomicCount(final AtomicInteger seed) {
public ObjectCount(final AtomicInteger seed) {
this.seed = seed;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
final class DocumentTest {
@Test
void buildDocument() {
final Count count = new AtomicCount();
final Count count = new ObjectCount();
new Assertion<>(
"Must represent a PDF document",
new TextOf(
Expand Down Expand Up @@ -96,7 +96,7 @@ void buildDocument() {
@Test
void buildFile() throws Exception {
final File file = new File("HelloWorld.pdf");
final Count count = new AtomicCount();
final Count count = new ObjectCount();
Files.write(
file.toPath(),
new Document(
Expand Down

0 comments on commit 9960006

Please sign in to comment.