Changeset 4483


Ignore:
Timestamp:
2003-06-05T11:09:35+12:00 (21 years ago)
Author:
mdewsnip
Message:

getBounds() now returns null instead of a arbitrary default value - the caller of getBounds() is responsible for choosing a default value if it is not set in the configuration file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Configuration.java

    r4480 r4483  
    245245    /** Retrieve the value of the named property as a Rectangle. */
    246246    public Rectangle getBounds(String property, boolean general) {
    247     Rectangle result = new Rectangle(100, 100, 100, 100); // Default
     247    Rectangle result = null;
    248248    try {
    249249        String raw = getString(property, general);
Note: See TracChangeset for help on using the changeset viewer.