Kaydet (Commit) f167316a authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS scriptingf4 (1.2.4); FILE MERGED

2004/05/17 13:06:59 dfoster 1.2.4.2: #i26923#
Removing System.err messages
Issue number:
Submitted by:
Reviewed by:
2004/04/30 15:42:42 dfoster 1.2.4.1: #i26923#
Issue number:
Submitted by:
Reviewed by:
üst 854d9c4c
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: ProviderBrowseNode.java,v $ * $RCSfile: ProviderBrowseNode.java,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: svesik $ $Date: 2004-04-19 23:03:03 $ * last change: $Author: rt $ $Date: 2004-05-19 08:20:06 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -122,21 +122,18 @@ public class ProviderBrowseNode extends PropertySet ...@@ -122,21 +122,18 @@ public class ProviderBrowseNode extends PropertySet
{ {
LogUtils.DEBUG("** ProviderBrowseNode.getChildNodes(), container is " + container ); LogUtils.DEBUG("** ProviderBrowseNode.getChildNodes(), container is " + container );
String[] parcels = container.getElementNames(); String[] parcels = container.getElementNames();
if ( browsenodes == null ) browsenodes = new ArrayList( parcels.length );
for ( int index = 0; index < parcels.length; index++ )
{ {
browsenodes = new ArrayList( parcels.length ); try
for ( int index = 0; index < parcels.length; index++ )
{ {
try XBrowseNode node = new ParcelBrowseNode( provider, container, parcels[ index ] );
{ browsenodes.add( node );
XBrowseNode node = new ParcelBrowseNode( provider, container, parcels[ index ] ); }
browsenodes.add( node ); catch ( Exception e )
} {
catch ( Exception e ) LogUtils.DEBUG("*** Failed to create parcel node for " + parcels[ index ] );
{ LogUtils.DEBUG( e.toString() );
LogUtils.DEBUG("*** Failed to create parcel node for " + parcels[ index ] );
LogUtils.DEBUG( e.toString() );
}
} }
} }
} }
...@@ -247,7 +244,7 @@ public class ProviderBrowseNode extends PropertySet ...@@ -247,7 +244,7 @@ public class ProviderBrowseNode extends PropertySet
} }
catch (Exception e) catch (Exception e)
{ {
System.err.print("create failed with: " + e ); //System.err.print("create failed with: " + e );
LogUtils.DEBUG( LogUtils.getTrace( e ) ); LogUtils.DEBUG( LogUtils.getTrace( e ) );
result = new Any(new Type(Boolean.class), Boolean.FALSE); result = new Any(new Type(Boolean.class), Boolean.FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment