Project

General

Profile

« Previous | Next » 

Revision 2573

Added by Jing Tao over 19 years ago

Remove output stream from the constructor.

View differences:

src/edu/ucsb/nceas/metacat/ReplicationHandler.java
59 59
  int serverCheckCode = 1;
60 60
  MetaCatUtil util = new MetaCatUtil();
61 61
  ReplicationServerList serverList = null;
62
  PrintWriter out;
62
  //PrintWriter out;
63 63
  private static final AbstractDatabase dbAdapter = MetaCatUtil.dbAdapter;
64 64

  
65
  public ReplicationHandler(PrintWriter o)
65
  public ReplicationHandler()
66 66
  {
67
    this.out = o;
67
    //this.out = o;
68 68
    serverList = new ReplicationServerList();
69 69
  }
70 70

  
71
  public ReplicationHandler(PrintWriter o, int serverCheckCode)
71
  public ReplicationHandler(int serverCheckCode)
72 72
  {
73
    this.out = o;
73
    //this.out = o;
74 74
    this.serverCheckCode = serverCheckCode;
75 75
    serverList = new ReplicationServerList();
76 76
  }

Also available in: Unified diff