Menu

#2428 JSR48 1.0.0: remove CIMObjectPath 2/3/4-parm ctors

closed-fixed
5
2012-09-14
2012-04-24
No

JSR48 1.0.0 Final (dated April 22, 2012) removes the two, three and four parameter constructors of CIMObjectPath. The six parameter constructor should be used instead.

Discussion

  • Dave Blaschke

    Dave Blaschke - 2012-04-24

    The following constructors are being deleted:

    CIMObjectPath(String pObjectName, String pNamespace)

    CIMObjectPath(String pObjectName, String pNamespace, CIMProperty<?>[] pKeys)

    CIMObjectPath(String pHost, String pNamespace, String pObjectName, CIMProperty<?>[] pKeys)

    In their place, please use this constructor instead:

    CIMObjectPath(String pScheme, String pHost, String pPort, String pNamespace, String pObjectName, CIMProperty<?>[] pKeys)

    BE CAREFUL WHEN SWITCHING FROM THE TWO AND THREE-PARAMETER CONSTRUCTORS - pObjectName comes before pNamespace, while in the four and six (and seven) parameter versions pObjectName comes after pNamespace.

     
  • Dave Blaschke

    Dave Blaschke - 2012-04-25
    • status: open --> open-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2012-04-25

    Patch sent for community review. During a 2 week period any
    exploiter may comment on the patch, request changes or turn it
    down completely (with good reason). For the time being the patch is part of the "Experimental" branch in CVS.

     
  • Dave Blaschke

    Dave Blaschke - 2012-05-09

    Patch against HEAD

     
  • Dave Blaschke

    Dave Blaschke - 2012-05-09

    The community review has completed and we received no substantial criticism. Therefore the patch has been approved and merged into the "HEAD" branch. The next release will pick it up.

     
  • Dave Blaschke

    Dave Blaschke - 2012-05-09
    • status: open-fixed --> pending-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2012-09-14

    The patch was picked up by release 2.2.0 and will therefore be closed.

     
  • Dave Blaschke

    Dave Blaschke - 2012-09-14
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.