Mercurial > projects > dwt-mac
changeset 2:354c569b57a9
Changed some "== null" to "is null"
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 19 Aug 2008 17:40:11 +0200 |
parents | 8b48be5454ce |
children | 649b8e223d5a a329f9c3d66d |
files | dwt/DWT.d dwt/DWTError.d dwt/DWTException.d |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/DWT.d Tue Aug 19 17:35:17 2008 +0200 +++ b/dwt/DWT.d Tue Aug 19 17:40:11 2008 +0200 @@ -3788,7 +3788,7 @@ } String message = findErrorText (code); - if (detail != null) message += detail; + if (detail !is null) message += detail; switch (code) { /* Illegal Arguments (non-fatal) */
--- a/dwt/DWTError.d Tue Aug 19 17:35:17 2008 +0200 +++ b/dwt/DWTError.d Tue Aug 19 17:40:11 2008 +0200 @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * * Port to the D programming language: * Frank Benoit <benoit@tionex.de> * Jacob Carlborg <jacob.carlborg@gmail.com> @@ -64,7 +65,7 @@ return this.next; } - //static final long serialVersionUID = 3833467327105808433L; + static const long serialVersionUID = 3833467327105808433L; /** * Constructs a new instance of this class with its
--- a/dwt/DWTException.d Tue Aug 19 17:35:17 2008 +0200 +++ b/dwt/DWTException.d Tue Aug 19 17:40:11 2008 +0200 @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * * Port to the D programming language: * Frank Benoit <benoit@tionex.de> * Jacob Carlborg <jacob.carlborg@gmail.com> @@ -56,7 +57,7 @@ } - //static final long serialVersionUID = 3257282552304842547L; + static const long serialVersionUID = 3257282552304842547L; /** * Constructs a new instance of this class with its