Bug 784991 - JON 3.0.1 RC#1 Cannot reference classes succinctly without package names
Summary: JON 3.0.1 RC#1 Cannot reference classes succinctly without package names
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: 3.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: JON 3.0.1
Assignee: Ian Springer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: jon310-sprint11, rhq44-sprint11
TreeView+ depends on / blocked
 
Reported: 2012-01-26 20:53 UTC by Mike Foley
Modified: 2014-09-29 14:38 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-31 22:37:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike Foley 2012-01-26 20:53:32 UTC
Description of problem:  JON 3.0.1 RC#1  CLI Doc example 2.3 incorrectly states that some classes can be referenced succinctly without package names


Version-Release number of selected component (if applicable):  JON 3.01 RC1


How reproducible: 100%


Steps to Reproduce:
1.  read JON CLI doc example 2.3
2.  type recommended succinct version:  var criteria = new ResourceCritiera();

  
Actual results:  error


Expected results:  variable is set


Additional info:  CLI Doc example 2.3 states ....

For example, the class org.rhq.core.domain.critiera.ResourceCriteria is commonly used to query resources. The entire class path can be given when calling that class:
var criteria = new org.rhq.core.domain.criteria.ResourceCriteria();
var resource = new org.rhq.core.domain.resource.Resource();
Because the domain class is already imported, this can be more succinctly written as:
var criteria = new ResourceCritiera();
var resource = new Resource();

Comment 1 Mike Foley 2012-01-30 16:25:53 UTC
12/30/2012 BZ triage meeting mfoley, ccrouch, loleary, asantos

Comment 3 Mike Foley 2014-09-29 14:38:53 UTC
.


Note You need to log in before you can comment on or make changes to this bug.