Revision 551
Added by berkley about 24 years ago
src/edu/ucsb/nceas/metacat/ReplicationHandler.java | ||
---|---|---|
168 | 168 |
if(tablehasrows) |
169 | 169 |
{ |
170 | 170 |
serverCode = rs.getInt(1); |
171 |
System.out.println("servercode: " + serverCode); |
|
171 |
//System.out.println("servercode: " + serverCode);
|
|
172 | 172 |
} |
173 | 173 |
else |
174 | 174 |
{ |
... | ... | |
194 | 194 |
} |
195 | 195 |
} |
196 | 196 |
} |
197 |
/* |
|
197 |
|
|
198 | 198 |
//update the last_update field for each server to the current date/time |
199 | 199 |
SimpleDateFormat formatter = new SimpleDateFormat ("yy-MM-dd HH:mm:ss"); |
200 | 200 |
java.util.Date newDate = new java.util.Date(System.currentTimeMillis()); |
... | ... | |
209 | 209 |
pstmt.executeUpdate(); |
210 | 210 |
//conn.commit(); |
211 | 211 |
System.out.println("last_checked updated: " + dateString); |
212 |
*/ |
|
212 |
|
|
213 | 213 |
} |
214 | 214 |
catch(Exception e) |
215 | 215 |
{ |
Also available in: Unified diff
removed inadvertent comments