Fix small bug

This commit is contained in:
vpj-cd 2008-10-07 12:56:39 +00:00
parent 162891cfb2
commit 69a3755b9a
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public class CRP extends SvrProcess {
while(nodeId != 0) while(nodeId != 0)
{ {
node = owf.getNode(nodeId); node = owf.getNode(nodeId);
log.fine("PP_Order Node:" + node.getName() + " Description:" + node.getDescription()); log.fine("PP_Order Node:" + node.getName() != null ? node.getName() : "" + " Description:" + node.getDescription() != null ? node.getDescription() : "");
MResource resource = MResource.get(getCtx(), node.getS_Resource_ID()); MResource resource = MResource.get(getCtx(), node.getS_Resource_ID());
MResourceType resourceType = resource.getResourceType(); MResourceType resourceType = resource.getResourceType();
@ -154,7 +154,7 @@ public class CRP extends SvrProcess {
while(nodeId != 0) while(nodeId != 0)
{ {
node = owf.getNode(nodeId); node = owf.getNode(nodeId);
log.fine("PP_Order Node:" + node.getName() + " Description:" + node.getDescription()); log.fine("PP_Order Node:" + node.getName() != null ? node.getName() : "" + " Description:" + node.getDescription() != null ? node.getDescription() : "");
MResource resource = MResource.get(getCtx(), node.getS_Resource_ID()); MResource resource = MResource.get(getCtx(), node.getS_Resource_ID());
MResourceType resourceType = resource.getResourceType(); MResourceType resourceType = resource.getResourceType();