X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.message%2Fsrc%2Forg%2Fsimantics%2Fmessage%2FDetailStatus.java;h=58f3f317e3e3010481dcad8f13f6e030bc159561;hb=dacda910a146ee8dec7e163e35ffae9a72e2b794;hp=6f79b8b7c138c0b650b19530cc3be5ff70119a99;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.message/src/org/simantics/message/DetailStatus.java b/bundles/org.simantics.message/src/org/simantics/message/DetailStatus.java index 6f79b8b7c..58f3f317e 100644 --- a/bundles/org.simantics.message/src/org/simantics/message/DetailStatus.java +++ b/bundles/org.simantics.message/src/org/simantics/message/DetailStatus.java @@ -1,18 +1,18 @@ -/******************************************************************************* - * 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; -import org.eclipse.core.runtime.Assert; -import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.Assert; +import org.eclipse.core.runtime.Status; /** * A concrete IDetailStatus implementation, suitable either for instantiating or @@ -136,7 +136,7 @@ public class DetailStatus extends Status 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; @@ -172,7 +172,7 @@ public class DetailStatus extends Status 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$