Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 99059 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java (-5 / +5 lines)
Lines 385-396 Link Here
385
		// Determine the status to be displayed (and possibly logged)
385
		// Determine the status to be displayed (and possibly logged)
386
		IStatus status = null;
386
		IStatus status = null;
387
		boolean log = false;
387
		boolean log = false;
388
		if (exception instanceof CoreException) {
388
		if (exception instanceof TeamException) {
389
			status = ((CoreException)exception).getStatus();
389
			status = ((TeamException) exception).getStatus();
390
			log = (((flags & LOG_TEAM_EXCEPTIONS) > 0) || ((flags & LOG_CORE_EXCEPTIONS) > 0));
391
		} else if (exception instanceof CoreException) {
392
			status = ((CoreException) exception).getStatus();
390
			log = ((flags & LOG_CORE_EXCEPTIONS) > 0);
393
			log = ((flags & LOG_CORE_EXCEPTIONS) > 0);
391
		} else if (exception instanceof TeamException) {
392
			status = ((TeamException)exception).getStatus();
393
			log = ((flags & LOG_TEAM_EXCEPTIONS) > 0);
394
		} else if (exception instanceof InterruptedException) {
394
		} else if (exception instanceof InterruptedException) {
395
			return new CVSStatus(IStatus.OK, CVSUIMessages.ok); 
395
			return new CVSStatus(IStatus.OK, CVSUIMessages.ok); 
396
		} else if (exception != null) {
396
		} else if (exception != null) {

Return to bug 99059