Project

General

Profile

« Previous | Next » 

Revision 1499

Added by Jing Tao almost 22 years ago

Change debugMessage prototype.

View differences:

src/edu/ucsb/nceas/metacat/RelationHandler.java
112 112
     
113 113
      MetaCatUtil.debugMessage("oringal subjectparentid: " + 
114 114
                                                subjectParentId, 40);
115
      MetaCatUtil.debugMessage("oringinal subject: "+subject);
115
      MetaCatUtil.debugMessage("oringinal subject: "+subject, 40);
116 116
      MetaCatUtil.debugMessage("oringal relation parentid: "+ 
117 117
                                relationshipParentId, 40);
118 118
      MetaCatUtil.debugMessage("oringinal relationship: "+relationship, 40);
......
140 140
        if (relationPrefix != null && !relationPrefix.equals(relationship))
141 141
        {
142 142
          MetaCatUtil.debugMessage("merge relation: "+ relationPrefix + 
143
                                    relationship);
143
                                    relationship, 40);
144 144
          relationship = relationPrefix + relationship;
145 145
          mergeRelation = true;
146 146
        }
......
151 151
        String objectPrefix = getValueFromParentIdList(objectParentId);
152 152
        if (objectPrefix != null && !objectPrefix.equals(object))
153 153
        {
154
          MetaCatUtil.debugMessage("merge object: "+ objectPrefix + object);
154
          MetaCatUtil.debugMessage("merge object: "+ objectPrefix + object, 40);
155 155
          object = objectPrefix + object;
156 156
          mergerObject = true;
157 157
        }
......
332 332
      pstmt.close();
333 333
    } catch(SQLException e) {
334 334
      MetaCatUtil.debugMessage("error in RelationHandler.deleteRelations(): " + 
335
                          e.getMessage());
336
      System.out.println("error in RelationHandler.deleteRelations(): " + 
337
                          e.getMessage());
335
                          e.getMessage(), 30);
336
      
338 337
      throw e;
339 338
    }
340 339
  }

Also available in: Unified diff