From f00d900dcbdd2a35f08646cd62ea3b638a875588 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 14 Jun 2018 21:07:21 +0100 Subject: [PATCH] Tighten package exposure --- src/main/java/net/kemitix/gitdb/GitTreeReader.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/kemitix/gitdb/GitTreeReader.java b/src/main/java/net/kemitix/gitdb/GitTreeReader.java index f55a8af..b299bb1 100644 --- a/src/main/java/net/kemitix/gitdb/GitTreeReader.java +++ b/src/main/java/net/kemitix/gitdb/GitTreeReader.java @@ -21,6 +21,7 @@ package net.kemitix.gitdb; +import lombok.AccessLevel; import lombok.Getter; import lombok.RequiredArgsConstructor; import org.eclipse.jgit.lib.Constants; @@ -41,7 +42,7 @@ import java.util.stream.Stream; * * @author Paul Campbell (pcampbell@kemitix.net) */ -@RequiredArgsConstructor +@RequiredArgsConstructor(access = AccessLevel.PACKAGE) class GitTreeReader { private final Repository repository; @@ -84,9 +85,9 @@ class GitTreeReader { /** * Represents the key/value pairs read from the tree. */ - @Getter - @RequiredArgsConstructor - class NamedRevBlob { + @Getter(AccessLevel.PACKAGE) + @RequiredArgsConstructor(access = AccessLevel.PACKAGE) + protected class NamedRevBlob { private final String name; private final RevBlob revBlob;