Bug 1268184 - Deprecated class/method used in code example
Deprecated class/method used in code example
Status: NEW
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: Documentation (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: brms-docs@redhat.com
Lukáš Petrovický
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-01 23:22 EDT by Lyle Wang
Modified: 2016-01-08 16:58 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Reproducer project (5.81 KB, application/zip)
2015-10-01 23:23 EDT, Lyle Wang
no flags Details

  None (edit)
Description Lyle Wang 2015-10-01 23:22:34 EDT
Document URL: 
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.1/html/Development_Guide/sect-Remote_Java_API.html#The_REST_Remote_Java_RuntimeEngine_Factory

Section Number and Name: 
16.4.1. The REST Remote Java RuntimeEngine Factory / Example usage

Describe the issue: 
Some deprecated classes / methods are used in the example code and, some cannot be compiled at all.

Suggestions for improvement: 
Check with development team regarding the recommended code example and correct accordingly.

Additional information: 
A reproducer project is uploaded, this is tested and compilable on JBDS 8.1.
Import this into JBDS and the deprecated / incorrect classes / methods will be marked automatically.
Comment 1 Lyle Wang 2015-10-01 23:23 EDT
Created attachment 1079326 [details]
Reproducer project
Comment 3 Lyle Wang 2015-10-01 23:32:20 EDT
The code in attached reproducer was corrected already.
The original example code in doc. page cannot be compiled.

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