From b64321cc317f758723498ed6f985759c1a2305a2 Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Wed, 6 Sep 2017 11:20:51 +1000 Subject: [PATCH] Move text renderer util classes to internal package They are not API, so they should be in an internal package. --- .../holder => internal/renderer/text}/BulletListHolder.java | 2 +- .../text/holder => internal/renderer/text}/ListHolder.java | 2 +- .../renderer/text}/OrderedListHolder.java | 2 +- .../renderer/text/CoreTextContentNodeRenderer.java | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) rename commonmark/src/main/java/org/commonmark/{renderer/text/holder => internal/renderer/text}/BulletListHolder.java (87%) rename commonmark/src/main/java/org/commonmark/{renderer/text/holder => internal/renderer/text}/ListHolder.java (92%) rename commonmark/src/main/java/org/commonmark/{renderer/text/holder => internal/renderer/text}/OrderedListHolder.java (91%) diff --git a/commonmark/src/main/java/org/commonmark/renderer/text/holder/BulletListHolder.java b/commonmark/src/main/java/org/commonmark/internal/renderer/text/BulletListHolder.java similarity index 87% rename from commonmark/src/main/java/org/commonmark/renderer/text/holder/BulletListHolder.java rename to commonmark/src/main/java/org/commonmark/internal/renderer/text/BulletListHolder.java index c58cb4a07..f08ccebd6 100644 --- a/commonmark/src/main/java/org/commonmark/renderer/text/holder/BulletListHolder.java +++ b/commonmark/src/main/java/org/commonmark/internal/renderer/text/BulletListHolder.java @@ -1,4 +1,4 @@ -package org.commonmark.renderer.text.holder; +package org.commonmark.internal.renderer.text; import org.commonmark.node.BulletList; diff --git a/commonmark/src/main/java/org/commonmark/renderer/text/holder/ListHolder.java b/commonmark/src/main/java/org/commonmark/internal/renderer/text/ListHolder.java similarity index 92% rename from commonmark/src/main/java/org/commonmark/renderer/text/holder/ListHolder.java rename to commonmark/src/main/java/org/commonmark/internal/renderer/text/ListHolder.java index 2db1d8fbe..cb06d4a9d 100644 --- a/commonmark/src/main/java/org/commonmark/renderer/text/holder/ListHolder.java +++ b/commonmark/src/main/java/org/commonmark/internal/renderer/text/ListHolder.java @@ -1,4 +1,4 @@ -package org.commonmark.renderer.text.holder; +package org.commonmark.internal.renderer.text; public abstract class ListHolder { private static final String INDENT_DEFAULT = " "; diff --git a/commonmark/src/main/java/org/commonmark/renderer/text/holder/OrderedListHolder.java b/commonmark/src/main/java/org/commonmark/internal/renderer/text/OrderedListHolder.java similarity index 91% rename from commonmark/src/main/java/org/commonmark/renderer/text/holder/OrderedListHolder.java rename to commonmark/src/main/java/org/commonmark/internal/renderer/text/OrderedListHolder.java index 7cdb41d98..e02ecea7c 100644 --- a/commonmark/src/main/java/org/commonmark/renderer/text/holder/OrderedListHolder.java +++ b/commonmark/src/main/java/org/commonmark/internal/renderer/text/OrderedListHolder.java @@ -1,4 +1,4 @@ -package org.commonmark.renderer.text.holder; +package org.commonmark.internal.renderer.text; import org.commonmark.node.OrderedList; diff --git a/commonmark/src/main/java/org/commonmark/renderer/text/CoreTextContentNodeRenderer.java b/commonmark/src/main/java/org/commonmark/renderer/text/CoreTextContentNodeRenderer.java index 952561322..a5f9db518 100644 --- a/commonmark/src/main/java/org/commonmark/renderer/text/CoreTextContentNodeRenderer.java +++ b/commonmark/src/main/java/org/commonmark/renderer/text/CoreTextContentNodeRenderer.java @@ -2,9 +2,9 @@ import org.commonmark.node.*; import org.commonmark.renderer.NodeRenderer; -import org.commonmark.renderer.text.holder.BulletListHolder; -import org.commonmark.renderer.text.holder.ListHolder; -import org.commonmark.renderer.text.holder.OrderedListHolder; +import org.commonmark.internal.renderer.text.BulletListHolder; +import org.commonmark.internal.renderer.text.ListHolder; +import org.commonmark.internal.renderer.text.OrderedListHolder; import java.util.Arrays; import java.util.HashSet;