Revision 10217
Added by Jing Tao over 7 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
1314 | 1314 |
Identifier pid; |
1315 | 1315 |
//synFailed.getPid was obsolseted since d1_common_java 2.4 |
1316 | 1316 |
String pidStr = syncFailed.getIdentifier(); |
1317 |
if (pidStr == null || pidString.trim().equals("")) {
|
|
1317 |
if (pidStr == null || pidStr.trim().equals("")) { |
|
1318 | 1318 |
pidStr = syncFailed.getPid(); |
1319 | 1319 |
} |
1320 | 1320 |
logMetacat.debug("MNodeService.synchronizationFailed - the failed identifier is "+pidStr); |
1321 |
if ( pidString != null && !pidString.trim().equals("") ) {
|
|
1321 |
if ( pidStr != null && !pidStr.trim().equals("") ) {
|
|
1322 | 1322 |
|
1323 | 1323 |
pid = new Identifier(); |
1324 | 1324 |
pid.setValue(syncFailed.getPid()); |
Also available in: Unified diff
Fixed typos in the vairable name.