X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.message%2Fsrc%2Forg%2Fsimantics%2Fmessage%2FDetailMultiStatus.java;h=8522e22a92fe8da98d02ccfb517608a41174dbbc;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=e079f5b27b2165beda6dae1c94ce6b553b20992a;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.message/src/org/simantics/message/DetailMultiStatus.java b/bundles/org.simantics.message/src/org/simantics/message/DetailMultiStatus.java index e079f5b27..8522e22a9 100644 --- a/bundles/org.simantics.message/src/org/simantics/message/DetailMultiStatus.java +++ b/bundles/org.simantics.message/src/org/simantics/message/DetailMultiStatus.java @@ -1,14 +1,14 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.message; /******************************************************************************* @@ -22,9 +22,9 @@ package org.simantics.message; * IBM Corporation - initial API and implementation *******************************************************************************/ -import org.eclipse.core.runtime.Assert; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.MultiStatus; +import org.eclipse.core.runtime.Assert; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.MultiStatus; /** * A concrete multi-status implementation, @@ -86,7 +86,7 @@ public class DetailMultiStatus extends MultiStatus implements IDetailStatus { * @param severity the severity; one of OK, ERROR, * INFO, WARNING, or CANCEL */ - @Override + @Override protected void setSeverity(int severity) { Assert.isLegal(severity == OK || severity == ERROR || severity == WARNING || severity == INFO || severity == CANCEL || severity == DEBUG); this.severity = severity; @@ -122,7 +122,7 @@ public class DetailMultiStatus extends MultiStatus implements IDetailStatus { * Returns a string representation of the status, suitable * for debugging purposes only. */ - @Override + @Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("Status2 "); //$NON-NLS-1$