Project

General

Profile

« Previous | Next » 

Revision 2663

Added by sgarg over 18 years ago

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

View differences:

AccessSection.java
31 31
import java.util.Vector;
32 32
import java.util.Stack;
33 33

  
34
import org.apache.log4j.Logger;
35

  
34 36
/**
35 37
 * A Class that represents an XML access rule. It include principal and
36 38
 * permission
......
45 47
  private Stack storedTmpNodeStack = null;
46 48
  private Vector describedIdList = new Vector();
47 49
  private long startedDescribesNodeId = -1;
50
  private Logger logMetacat = Logger.getLogger(AccessSection.class);
48 51

  
49 52

  
50 53
    /**
......
148 151
    {
149 152

  
150 153
      // set parameters
151
      MetaCatUtil.logMetacat.info("Copy permission order: " +
154
      logMetacat.info("Copy permission order: " +
152 155
                                this.getPermissionOrder());
153 156
      newAccessSection.setPermissionOrder(this.getPermissionOrder());
154 157
      Vector accessRuleVector = this.getAccessRules();

Also available in: Unified diff