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:
parent
6fa782f068
commit
19e9d5a733
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue