Changeset 130:5c1906bfc206
- Timestamp:
- 07/26/08 08:35:04
(4 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- Children:
131:51f0125d8807 132:104f5ed240fc
- Tags:
Release-1
- branch:
- default
- Message:
Fix deprecated tango API
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r62 |
r130 |
|
| 35 | 35 | |
|---|
| 36 | 36 | import tango.io.File; |
|---|
| 37 | | import tango.io.FilePath; |
|---|
| | 37 | import Path = tango.io.Path; |
|---|
| 38 | 38 | |
|---|
| 39 | 39 | version(JIVE) import jive.stacktrace; |
|---|
| … | … | |
| 184 | 184 | |
|---|
| 185 | 185 | void main(){ |
|---|
| 186 | | scope fn = new FilePath( FILENAME ); |
|---|
| 187 | | if( !fn.exists ){ |
|---|
| 188 | | scope prefs = new File( fn ); |
|---|
| | 186 | if( !Path.exists( FILENAME ) ){ |
|---|
| | 187 | scope prefs = new File( FILENAME ); |
|---|
| 189 | 188 | version(linux){ |
|---|
| 190 | 189 | prefs.write( import("jface.showfieldprefs.properties.linux" )); |
|---|
| r62 |
r130 |
|
| 35 | 35 | |
|---|
| 36 | 36 | import tango.io.File; |
|---|
| 37 | | import tango.io.FilePath; |
|---|
| | 37 | import Path = tango.io.Path; |
|---|
| 38 | 38 | |
|---|
| 39 | 39 | version(JIVE) import jive.stacktrace; |
|---|
| … | … | |
| 308 | 308 | |
|---|
| 309 | 309 | void main(){ |
|---|
| 310 | | scope fn = new FilePath( FILENAME ); |
|---|
| 311 | | if( !fn.exists ){ |
|---|
| 312 | | scope prefs = new File( fn ); |
|---|
| | 310 | if( !Path.exists(FILENAME) ){ |
|---|
| | 311 | scope prefs = new File( FILENAME ); |
|---|
| 313 | 312 | prefs.write( import("jface.showprefs.properties" )); |
|---|
| 314 | 313 | } |
|---|