private final TreePanel _tp;
private static final BufferedImage PLACEHOLDER = new BufferedImage( 1, 1, BufferedImage.TYPE_INT_RGB );
+ private final static boolean DEBUG = false;
public ImageLoader( final TreePanel tp ) {
_tp = tp;
|| uri_str.endsWith( ".gif" ) || uri_str.endsWith( ".bmp" ) ) ) {
image_map.put( uri_str, PLACEHOLDER );
BufferedImage bi = null;
- if ( !Constants.__RELEASE && !Constants.__SNAPSHOT_RELEASE ) {
- System.out.println( "accessing:" + uri );
+ if ( DEBUG ) {
+ System.out.println( "accessing: " + uri );
}
try {
bi = ImageIO.read( uri.getValue().toURL() );