              var arr = this.getArr(adviceType); var ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr); if(ind == -1){ return false; } while(ind != -1){ arr.splice(ind, 1); if(once){ break; } ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr); } return true; } 
              var arr = this.getArr(adviceType); var ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr); if(ind == -1){ return false; } while(ind != -1){ arr.splice(ind, 1); if(once){ break; } ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr); } return true; } 
	removeAdvice: function(thisAdviceObj, thisAdvice, adviceType, once){		// summary:		//		returns the array index of the first existing connection		//		betweened the passed advice and this joinpoint. Will be -1 if		//		none exists.		// thisAdviceObj:		//		the scope in which to locate/execute the named adviceFunc.		// thisAdviceFunc:		//		the name of the function being conected		// adviceType: 		//		Optional. String. One of "before", "after", "around",		//		"before-around", or "after-around". FIXME		// once:		//		Optional. Should this only remove the first occurance of the		//		connection?		var arr = this.getArr(adviceType);		var ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr);		if(ind == -1){			return false;		}		while(ind != -1){			arr.splice(ind, 1);			if(once){ break; }			ind = this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr);		}		return true;	}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js