Lines 46-52
Link Here
|
46 |
if ( platform_manager == null ){ |
46 |
if ( platform_manager == null ){ |
47 |
|
47 |
|
48 |
try{ |
48 |
try{ |
49 |
if ( getPlatformType() == PlatformManager.PT_WINDOWS ){ |
49 |
/*if ( getPlatformType() == PlatformManager.PT_WINDOWS ){ |
50 |
|
50 |
|
51 |
platform_manager = org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton(); |
51 |
platform_manager = org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton(); |
52 |
|
52 |
|
Lines 54-68
Link Here
|
54 |
|
54 |
|
55 |
platform_manager = org.gudy.azureus2.platform.macosx.PlatformManagerImpl.getSingleton(); |
55 |
platform_manager = org.gudy.azureus2.platform.macosx.PlatformManagerImpl.getSingleton(); |
56 |
|
56 |
|
57 |
}else if( getPlatformType() == PlatformManager.PT_UNIX ){ |
57 |
}else*/ |
|
|
58 |
if( getPlatformType() == PlatformManager.PT_UNIX ){ |
58 |
|
59 |
|
59 |
platform_manager = org.gudy.azureus2.platform.unix.PlatformManagerImpl.getSingleton(); |
60 |
platform_manager = org.gudy.azureus2.platform.unix.PlatformManagerImpl.getSingleton(); |
60 |
|
61 |
|
61 |
} |
62 |
} |
|
|
63 |
/* exception org.gudy.azureus2.plugins.platform.PlatformManagerException is never thrown in body of corresponding try statement |
62 |
}catch( PlatformManagerException e ){ |
64 |
}catch( PlatformManagerException e ){ |
63 |
|
65 |
|
64 |
// exception will already have been logged |
66 |
// exception will already have been logged |
65 |
|
67 |
*/ |
66 |
}catch( Throwable e ){ |
68 |
}catch( Throwable e ){ |
67 |
|
69 |
|
68 |
Debug.printStackTrace(e); |
70 |
Debug.printStackTrace(e); |