Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Motivation:

Why bother

Contact:

full name

Tracker:

http://jira.codehaus.org/browse/GEOT-3055

Tagline:

Excerpt

Query vs DefaultQuery

This page represents the current plan; for discussion please check the tracker link above.

Section
Column
width60%
Table of Contents
Column
Children Display

Description

Query is an interface with a single implementation ... DefaultQuery. As such it is not earning its keep and represents needless complexity.

To simplify turn Query into a class and pull up method implementations from DefaultQuery:

Code Block
class Query {
  ...
  public String getHandle() {
    return this.handle;
  }
  ...
}
class DefaultQuery extends Query {
  // empty
}

Patch is available on the attached bug report; it also updates the query Java docs (something else that can be improved without a proposal).

Status

This proposal is ready; there is a patch that can be applied.

We are done and the patch has been applied to 2.7.x!

Tasks

This section is used to make sure your proposal is complete (did you remember documentation?) and has enough paid or volunteer time lined up to be a success

 

no progress

(tick)

done

(error)

impeded

(warning)

lack mandate/funds/time

(question)

volunteer needed

  1. Apply patch from http://jira.codehaus.org/browse/GEOT-3055
  2. Update example code