Skip to content

Commit

Permalink
make access modifier as restrictive as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
fmck3516 committed Nov 26, 2023
1 parent 145f717 commit b5bf841
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion skippy-core/src/main/java/io/skippy/core/AnalyzedFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* <li>MD5 hash of class file</li>
* </ul>
*/
public class AnalyzedFile {
class AnalyzedFile {

private static final Logger LOGGER = LogManager.getLogger(AnalyzedFile.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* Allows for more meaningful typing, e.g., {@code Map<FullyQualifiedClassName, List<FullyQualifiedClassName>>}
* instead of {@code Map<String, List<String>>}.
*/
public record FullyQualifiedClassName(String fullyQualifiedClassName) {}
record FullyQualifiedClassName(String fullyQualifiedClassName) {}
6 changes: 3 additions & 3 deletions skippy-core/src/main/java/io/skippy/core/SkippyConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
/**
* Comment to make the JavaDoc task happy.
*/
public class SkippyConstants {
class SkippyConstants {

/**
* The directory that contains the Skippy analysis.
*/
public static final Path SKIPPY_DIRECTORY = Path.of("skippy");
static final Path SKIPPY_DIRECTORY = Path.of("skippy");

/**
* The file that contains data for all {@link AnalyzedFile}s.
*/
public static final Path SKIPPY_ANALYSIS_FILE = Path.of("analyzedFiles.txt");
static final Path SKIPPY_ANALYSIS_FILE = Path.of("analyzedFiles.txt");

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
/**
* A mapping between tests and the classes they cover.
*/
public class TestImpactAnalysis {
class TestImpactAnalysis {

private static final Logger LOGGER = LogManager.getLogger(TestImpactAnalysis.class);

/**
* Indicates that no test impact analysis was found.
*/
public static final TestImpactAnalysis UNAVAILABLE = new TestImpactAnalysis(emptyMap());
static final TestImpactAnalysis UNAVAILABLE = new TestImpactAnalysis(emptyMap());

private final Map<FullyQualifiedClassName, List<FullyQualifiedClassName>> testCoverage;

Expand Down

0 comments on commit b5bf841

Please sign in to comment.