Skip to content

Commit 1a60bec

Browse files
committed
Make LoggingFileManagerProxy internal
1 parent 2f85a3b commit 1a60bec

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/config/JctFileManagerLoggingProxyConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
import io.github.ascopes.jct.compilers.JctCompiler;
1919
import io.github.ascopes.jct.filemanagers.JctFileManager;
20-
import io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy;
2120
import io.github.ascopes.jct.filemanagers.LoggingMode;
21+
import io.github.ascopes.jct.filemanagers.impl.LoggingFileManagerProxy;
2222
import org.apiguardian.api.API;
2323
import org.apiguardian.api.API.Status;
2424
import org.slf4j.Logger;
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.ascopes.jct.filemanagers;
16+
package io.github.ascopes.jct.filemanagers.impl;
1717

18+
import io.github.ascopes.jct.filemanagers.JctFileManager;
1819
import io.github.ascopes.jct.utils.LoomPolyfill;
1920
import io.github.ascopes.jct.utils.ToStringBuilder;
2021
import java.lang.reflect.InvocationHandler;
@@ -40,10 +41,13 @@
4041
*
4142
* <p>All logs are emitted with the {@code DEBUG} logging level.
4243
*
44+
* <p>Since v2.0.0, this class is now an internal class that is not part of the
45+
* public API.
46+
*
4347
* @author Ashley Scopes
4448
* @since 0.0.1
4549
*/
46-
@API(since = "0.0.1", status = Status.STABLE)
50+
@API(since = "0.0.1", status = Status.INTERNAL)
4751
public final class LoggingFileManagerProxy implements InvocationHandler {
4852

4953
private final Logger logger;

java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/filemanagers/config/JctFileManagerLoggingProxyConfigurerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
import io.github.ascopes.jct.compilers.JctCompiler;
2525
import io.github.ascopes.jct.filemanagers.JctFileManager;
26-
import io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy;
2726
import io.github.ascopes.jct.filemanagers.LoggingMode;
2827
import io.github.ascopes.jct.filemanagers.config.JctFileManagerLoggingProxyConfigurer;
28+
import io.github.ascopes.jct.filemanagers.impl.LoggingFileManagerProxy;
2929
import io.github.ascopes.jct.filemanagers.impl.JctFileManagerImpl;
3030
import org.junit.jupiter.api.BeforeEach;
3131
import org.junit.jupiter.api.DisplayName;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.ascopes.jct.tests.unit.filemanagers;
16+
package io.github.ascopes.jct.tests.unit.filemanagers.impl;
1717

1818
import static io.github.ascopes.jct.tests.helpers.Fixtures.oneOf;
1919
import static io.github.ascopes.jct.tests.helpers.Fixtures.someBoolean;
@@ -33,7 +33,7 @@
3333
import static org.mockito.Mockito.withSettings;
3434

3535
import io.github.ascopes.jct.filemanagers.JctFileManager;
36-
import io.github.ascopes.jct.filemanagers.LoggingFileManagerProxy;
36+
import io.github.ascopes.jct.filemanagers.impl.LoggingFileManagerProxy;
3737
import io.github.ascopes.jct.tests.helpers.Slf4jLoggerFake;
3838
import io.github.ascopes.jct.utils.LoomPolyfill;
3939
import java.lang.reflect.Array;

0 commit comments

Comments
 (0)