The fix of NPE described in issue #16948. release33_beta2-BLD200110260700
authormentlicher@netbeans.org
Thu, 25 Oct 2001 15:29:16 +0000
changeset 18119655b2cdcf82
parent 1810 0b405f565357
child 1812 83816054b045
The fix of NPE described in issue #16948.
vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java
     1.1 --- a/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java	Wed Oct 24 17:39:07 2001 +0000
     1.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java	Thu Oct 25 15:29:16 2001 +0000
     1.3 @@ -827,6 +827,7 @@
     1.4      
     1.5      private String[] performStatusSubstitution(String[] elements) {
     1.6          String status = elements[RefreshCommandSupport.ELEMENT_INDEX_STATUS];
     1.7 +        if (status == null) return elements;
     1.8          for (int i = 0; i < substituitionRegExps.length; i++) {
     1.9              if (substituitionRegExps[i].match(status)) {
    1.10                  if (STATUS_USE_REG_EXP_PARSE_OUTPUT.equals(substituitionStatuses[i])) {