1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[244270] Explicit check for isOffline and just returning block implementing a cache for Work Offline

This commit is contained in:
David McKnight 2008-08-19 15:48:37 +00:00
parent 6fa782f068
commit 19e9d5a733

View file

@ -42,6 +42,7 @@
* David Dykstal (IBM) - [233876] filters lost after restart
* David McKnight (IBM) - [238609] Substitution value missing for disconnect failed message
* David McKnight (IBM) - [237970] Subsystem.connect( ) fails for substituting host name when isOffline( ) is true
* David McKnight (IBM) - [244270] Explicit check for isOffline and just returning block implementing a cache for Work Offline
********************************************************************************/
package org.eclipse.rse.core.subsystems;
@ -551,7 +552,8 @@ implements IAdaptable, ISubSystem, ISystemFilterPoolReferenceManagerProvider
*/
public void checkIsConnected(IProgressMonitor monitor) throws SystemMessageException
{
if (!isConnected())
if (!isConnected() &&
!isOffline()) // for 244270, don't connect when offline
{
try
{