Changeset 5614


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.

Location:
trunk/src
Files:
2 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
  • trunk/src/test/data/test.download.robots.txt

    r5334 r5614  
    44Disallow: /changeset
    55Disallow: /browser
    6 Disallow: /timeline
    7 Disallow: /chrome
    8 Disallow: /roadmap
    96Disallow: /query
    107Disallow: /trac
Note: See TracChangeset for help on using the changeset viewer.