Fehlerkorrektur an zwei TraversalAdaptern, Logger in PackageLoader private gemacht, eigenen Logger für AbstractContentTypeLoader definiert.
git-svn-id: https://svn.libreccm.org/ccm/trunk@614 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
38c340cd6f
commit
85c395a29b
|
|
@ -51,6 +51,7 @@ import java.util.Date;
|
|||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.StringTokenizer;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
* This is the base loader that can be used by individual content types.
|
||||
|
|
@ -62,6 +63,9 @@ import java.util.StringTokenizer;
|
|||
**/
|
||||
public abstract class AbstractContentTypeLoader extends PackageLoader {
|
||||
|
||||
private static final Logger s_log = Logger.getLogger(
|
||||
AbstractContentTypeLoader.class);
|
||||
|
||||
public void run(final ScriptContext ctx) {
|
||||
new KernelExcursion() {
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ import com.arsdigita.util.parameter.ParameterReader;
|
|||
*/
|
||||
public abstract class PackageLoader extends AbstractScript {
|
||||
|
||||
public final static Logger s_log = Logger.getLogger(PackageLoader.class);
|
||||
private final static Logger s_log = Logger.getLogger(PackageLoader.class);
|
||||
|
||||
public static boolean exists(Connection conn, String table) {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
|
||||
|
||||
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.CollectedVolume"
|
||||
extends="com.arsdigita.cms.PublicationWithPublisher">
|
||||
extends="com.arsdigita.cms.contenttypes.PublicationWithPublisher">
|
||||
|
||||
<xrd:associations rule="include">
|
||||
<xrd:property name="/object/articles"/>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
|
||||
|
||||
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.Proceedings"
|
||||
extends="com.arsdigita.cms.PublicationWithPublisher">
|
||||
extends="com.arsdigita.cms.contenttypes.PublicationWithPublisher">
|
||||
|
||||
<xrd:associations rule="include">
|
||||
<xrd:property name="/object/papers"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue