diff --git a/src/main/java/w2phtml/xhtml/content/Separator.java b/src/main/java/w2phtml/xhtml/content/Separator.java
index e327d02..a2885d2 100644
--- a/src/main/java/w2phtml/xhtml/content/Separator.java
+++ b/src/main/java/w2phtml/xhtml/content/Separator.java
@@ -2,7 +2,6 @@ package w2phtml.xhtml.content;
import static w2phtml.util.Misc.*;
-import java.util.Iterator;
import java.util.LinkedList;
import org.w3c.dom.Document;
@@ -22,7 +21,6 @@ public class Separator {
private static final String COMMENT_END = "";
public Node currentComment = null;
private static final String NONE = "none";
- private static final String SECTIONS = "sections";
private static final String DIV = "div";
private int splitLevel = 0;
private boolean alignSplitToPages;
@@ -41,7 +39,6 @@ public class Separator {
private static Converter converter = null;
private Node prevPageContainer = null;
private PageContainer pageContainer = null;
- private Node metadataComment = null;
public Separator(XhtmlConfig config, Converter converter) {
this.converter = converter;
@@ -264,7 +261,7 @@ public class Separator {
if (prevPageContainer != null && alignSplitToPages) {
alignFilesByHeadings(node, curPageNum);
}
- breakPage(node, curPageNum);
+ insertPageBreak(node, curPageNum);
Document doc = node.getOwnerDocument();
Element openBlock = (Element) doc.createElement(DIV);
openBlock.setAttribute("class", "pageNum");
@@ -275,7 +272,7 @@ public class Separator {
return openBlock;
}
- private void breakPage(Node node, int curPageNum) {
+ private void insertPageBreak(Node node, int curPageNum) {
if (pageNumber != null && pageNumber != curPageNum) {
Document doc = node.getOwnerDocument();
Element pageBreak = (Element) doc.createElement(DIV);