Error in parse of parameter mode
Status: Pre-Alpha
Brought to you by:
craigcmiller
Hi,
if i've a procedure "PROCEDURE PRC_XXX(P_A IN VARCHAR2, O_B OUT MY_CUST_TYPE);" the system show in documentation that all parameters are IN.
I've try to correct the code:
Class : CommentParser.parseParameter
-- commented
/*
in=(param.indexOf("in") !=-1);
out=(param.indexOf("out") !=-1);
*/
--added
StringTokenizer tokenizer = new StringTokenizer(param);
while(tokenizer.hasMoreTokens()) {
String token = tokenizer.nextToken();
if(!in)
in = token.trim().equalsIgnoreCase("in");
if(!out)
out = token.trim().equalsIgnoreCase("out");
}
CommentParser class