<commit_before>/*
 * Copyright (C) 2013 XSite committers.
 * All rights reserved.
 *
 * Created on 30.04.2013 by <NAME>
 */
package org.codehaus.xsite.extractors.sitemesh.rules;

import java.util.ArrayDeque;
import java.util.Deque;

import com.opensymphony.module.sitemesh.html.BasicRule;
import com.opensymphony.module.sitemesh.html.Tag;

/**
 * Special rule for Maven/Doxia generated HTML pages. They nest typically the header paragraphs
 * together with the following elements into a div section with a class attribute of value
 * "section". This rule removes this div elements so that any contained elements will be at the
 * same level.  
 * 
 * @author <NAME>
 */
public class DropDivOfClassSectionRule extends BasicRule {

	private Deque<Boolean> stack;
	
	public DropDivOfClassSectionRule() {
		super("div");
		stack = new ArrayDeque<Boolean>(10);<commit_msg>Grammar<commit_after>/*
 * Copyright (C) 2013 XSite committers.
 * All rights reserved.
 *
 * Created on 30.04.2013 by <NAME>
 */
package org.codehaus.xsite.extractors.sitemesh.rules;

import java.util.ArrayDeque;
import java.util.Deque;

import com.opensymphony.module.sitemesh.html.BasicRule;
import com.opensymphony.module.sitemesh.html.Tag;

/**
 * Special rule for Maven/Doxia generated HTML pages. They nest typically the header paragraphs
 * together with the following elements into a div section with a class attribute of value
 * "section". This rule removes this div elements so that any contained element will be at the
 * same level.  
 * 
 * @author <NAME>
 */
public class DropDivOfClassSectionRule extends BasicRule {

	private Deque<Boolean> stack;
	
	public DropDivOfClassSectionRule() {
		super("div");
		stack = new ArrayDeque<Boolean>(10);
{'fraction_non_alphanumeric': 0.09380428488708743, 'fraction_numerical': 0.016213086276780544, 'mean_word_length': 4.41692789968652, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5222647', 'n_tokens_mistral': 553, 'n_tokens_neox': 500, 'n_words': 171}