From cde2e962a2e123c913a4995eb37736bdf8b03531 Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 8 Jul 2014 08:56:10 +0000 Subject: [PATCH] Some formating and cleanup git-svn-id: https://svn.libreccm.org/ccm/trunk@2741 8810af33-2d31-482b-a856-94f89814c4df --- .../cms/portlet/ContentItemJSRPortlet.java | 10 - .../src/com/arsdigita/bebop/BebopConfig.java | 2 +- ccm-core/src/com/arsdigita/bebop/Page.java | 255 +++++++++--------- .../com/arsdigita/bebop/form/DHTMLEditor.java | 164 +++++------ 4 files changed, 208 insertions(+), 223 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/portlet/ContentItemJSRPortlet.java b/ccm-cms/src/com/arsdigita/cms/portlet/ContentItemJSRPortlet.java index 6e19c9d55..e456ca38f 100644 --- a/ccm-cms/src/com/arsdigita/cms/portlet/ContentItemJSRPortlet.java +++ b/ccm-cms/src/com/arsdigita/cms/portlet/ContentItemJSRPortlet.java @@ -18,8 +18,6 @@ */ package com.arsdigita.cms.portlet; -import com.arsdigita.bebop.Page; -import com.arsdigita.bebop.PageFactory; import com.arsdigita.bebop.PageState; import com.arsdigita.bebop.SimpleComponent; import com.arsdigita.cms.CMS; @@ -30,15 +28,10 @@ import com.arsdigita.cms.ContentSection; import com.arsdigita.cms.ContentSectionCollection; import com.arsdigita.cms.ItemCollection; import com.arsdigita.cms.dispatcher.SimpleXMLGenerator; -import com.arsdigita.cms.portlet.utils.HttpServletRequestAdapter; -import com.arsdigita.cms.portlet.utils.HttpServletResponseAdapter; import com.arsdigita.domain.DataObjectNotFoundException; import com.arsdigita.domain.DomainObjectFactory; import com.arsdigita.persistence.OID; import com.arsdigita.portal.JSRPortlet; -import com.arsdigita.templating.PresentationManager; -import com.arsdigita.templating.Templating; -import com.arsdigita.xml.Document; import com.arsdigita.xml.Element; import java.io.IOException; @@ -54,9 +47,6 @@ import javax.portlet.PortletPreferences; import javax.portlet.PortletRequestDispatcher; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; diff --git a/ccm-core/src/com/arsdigita/bebop/BebopConfig.java b/ccm-core/src/com/arsdigita/bebop/BebopConfig.java index 20487ccbf..f322fa2d4 100755 --- a/ccm-core/src/com/arsdigita/bebop/BebopConfig.java +++ b/ccm-core/src/com/arsdigita/bebop/BebopConfig.java @@ -179,7 +179,7 @@ public final class BebopConfig extends AbstractConfig { } /** - * Gets the location of DHTML editor's xource file + * Gets the location of DHTML editor's source file */ public final String getDHTMLEditorSrcFile() { return (String) get(m_dhtmlEditorSrcFile); diff --git a/ccm-core/src/com/arsdigita/bebop/Page.java b/ccm-core/src/com/arsdigita/bebop/Page.java index dd68099e6..eb7e26909 100755 --- a/ccm-core/src/com/arsdigita/bebop/Page.java +++ b/ccm-core/src/com/arsdigita/bebop/Page.java @@ -54,15 +54,14 @@ import org.apache.log4j.Logger; /** * The top-level container for all Bebop components and containers. * - *