diff org.eclipse.equinox.common/src/org/eclipse/core/runtime/OperationCanceledException.d @ 105:bbe49769ec18

...
author Frank Benoit <benoit@tionex.de>
date Sun, 08 Nov 2009 12:42:30 +0100
parents bc29606a740c
children
line wrap: on
line diff
--- a/org.eclipse.equinox.common/src/org/eclipse/core/runtime/OperationCanceledException.d	Sat May 02 11:27:24 2009 +0200
+++ b/org.eclipse.equinox.common/src/org/eclipse/core/runtime/OperationCanceledException.d	Sun Nov 08 12:42:30 2009 +0100
@@ -4,18 +4,19 @@
  * 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.core.runtime.OperationCanceledException;
+// Port to the D programming language:
+//     Frank Benoit <benoit@tionex.de>
+module org.eclipse.core.runtimeOperationCanceledException;
 
 import java.lang.all;
 
+
 /**
- * This exception is thrown to blow out of a long-running method
+ * This exception is thrown to blow out of a long-running method 
  * when the user cancels it.
  * <p>
  * This class can be used without OSGi running.
@@ -29,7 +30,7 @@
     /**
      * All serializable objects should have a stable serialVersionUID
      */
-    private static const long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
 
     /**
      * Creates a new exception.
@@ -40,7 +41,7 @@
 
     /**
      * Creates a new exception with the given message.
-     *
+     * 
      * @param message the message for the exception
      */
     public this(String message) {