Inaccurate syntax when creating a test block for PL/SQL procedure
authorSubhashini Sooriarachchi <subslk@netbeans.org>
Wed, 26 Jun 2013 10:38:10 +0530
changeset 451d4eb9531fdba
parent 450 4465aa1bba89
child 452 b2411fb23674
Inaccurate syntax when creating a test block for PL/SQL procedure
PLSQL/Execution/src/org/netbeans/modules/plsql/execution/CreateTestBlockAction.java
     1.1 --- a/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/CreateTestBlockAction.java	Tue Jun 18 10:47:30 2013 +0530
     1.2 +++ b/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/CreateTestBlockAction.java	Wed Jun 26 10:38:10 2013 +0530
     1.3 @@ -369,10 +369,6 @@
     1.4                  String type = "";
     1.5  
     1.6                  StringTokenizer tokenizer = new StringTokenizer(value, " \t\n");
     1.7 -                if (tokenizer.countTokens() == 1) {
     1.8 -                    type = value;
     1.9 -                }
    1.10 -
    1.11                  while (tokenizer.hasMoreTokens()) {
    1.12                      String temp = tokenizer.nextToken();
    1.13                      if (temp.equalsIgnoreCase("OUT")) {