anchor.diff:                  }
               }
   
  -             if(document.webappUploadForm.version.value){
  +             if(document.webappUploadForm.version.value != null){
   
                    var appVersion =  document.webappUploadForm.version.value;
                    if(appVersion.indexOf("#")!=-1) {
  
positive.code:                     CARBON.showWarningDialog('<fmt:message key="whitespace.contains.webapp"/>');
                      validFileNames = false;
                  }
              } else if (document.webappUploadForm.warFileName[0].value) {
                
  
                  for (var i=0; i<document.webappUploadForm.warFileName.length; i++) {
  
negative.code:             var validFileNames = true;
              var emptyFields = true;
  
              if (document.webappUploadForm.warFileName.value != null &&
                      document.webappUploadForm.warFileName.value != '') {
  
                  var jarinput = document.webappUploadForm.warFileName.value;
                  if (jarinput != '') {
  