Mercurial > projects > dwt2
diff org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.d @ 105:bbe49769ec18
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 08 Nov 2009 12:42:30 +0100 |
parents | 0628aaa2996c |
children |
line wrap: on
line diff
--- a/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.d Sat May 02 11:27:24 2009 +0200 +++ b/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/log/FrameworkLogEntry.d Sun Nov 08 12:42:30 2009 +0100 @@ -4,15 +4,18 @@ * 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: * IBM Corporation - initial API and implementation *******************************************************************************/ +// Port to the D programming language: +// Frank Benoit <benoit@tionex.de> module org.eclipse.osgi.framework.log.FrameworkLogEntry; import java.lang.all; + /** * A framework log entry used to log information to a FrameworkLog * @since 3.1 @@ -26,21 +29,21 @@ */ public static final int OK = 0; - /** + /** * Severity constant (bit mask, value 1) indicating this log entry is informational only. * @see #getSeverity() * @since 3.2 */ public static final int INFO = 0x01; - /** + /** * Severity constant (bit mask, value 2) indicating this log entry represents a warning. * @see #getSeverity() * @since 3.2 */ public static final int WARNING = 0x02; - /** + /** * Severity constant (bit mask, value 4) indicating this log entry represents an error. * @see #getSeverity() * @since 3.2 @@ -56,7 +59,7 @@ // It would be nice to rename some of these fields but we cannot change the getter method // names without breaking clients. Changing only the field names would be confusing. - //TODO "entry" has another meaning here - title, summary, tag are better names + //TODO "entry" has another meaning here - title, summary, tag are better names private String entry; private String message; //TODO get rid of this @@ -105,7 +108,7 @@ } /** - * + * * @return Returns the children. */ public FrameworkLogEntry[] getChildren() { @@ -155,7 +158,7 @@ * no children. * </p> * - * @return the severity: one of <code>OK</code>, <code>ERROR</code>, + * @return the severity: one of <code>OK</code>, <code>ERROR</code>, * <code>INFO</code>, <code>WARNING</code>, or <code>CANCEL</code> * @since 3.2 */