Changeset 5614 for trunk/src/core


Ignore:
Timestamp:
Apr 18, 2011, 1:48:56 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1582: Extended support for external files

Fixed a NullPointerException? found while testing. Store latest robots.txt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/util/extensions/ClientContext.java

    r5599 r5614  
    111111  public ClientContext(DbControl dc)
    112112  {
    113     this(dc.getSessionControl(), dc, null);
     113    this(dc == null ? null : dc.getSessionControl(), dc, null);
    114114  }
    115115 
     
    124124  public ClientContext(DbControl dc, Object item)
    125125  {
    126     this(dc.getSessionControl(), dc, item);
     126    this(dc == null ? null : dc.getSessionControl(), dc, item);
    127127  }
    128128
Note: See TracChangeset for help on using the changeset viewer.