mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 04:55:22 +02:00
[cleanup] fix copyright-to-year
This commit is contained in:
parent
234cf10c04
commit
d2da4a8981
1 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006, 20089 IBM Corporation and others.
|
* Copyright (c) 2006, 2009 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -119,8 +119,8 @@ public class Activator extends AbstractUIPlugin
|
||||||
//FIXME This should really be migrated into a Preferences Initializer Extension
|
//FIXME This should really be migrated into a Preferences Initializer Extension
|
||||||
//in order to avoid unnecessary plugin activation
|
//in order to avoid unnecessary plugin activation
|
||||||
//IPreferenceStore store = RSEUIPlugin.getDefault().getPreferenceStore();
|
//IPreferenceStore store = RSEUIPlugin.getDefault().getPreferenceStore();
|
||||||
|
|
||||||
|
|
||||||
// as per bug 245260, using scoped store for preference initialization
|
// as per bug 245260, using scoped store for preference initialization
|
||||||
IPreferenceStore store = new ScopedPreferenceStore(new DefaultScope(), RSEUIPlugin.getDefault().getBundle().getSymbolicName());
|
IPreferenceStore store = new ScopedPreferenceStore(new DefaultScope(), RSEUIPlugin.getDefault().getBundle().getSymbolicName());
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ public class Activator extends AbstractUIPlugin
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.LIMIT_CACHE)){
|
if (store.isDefault(ISystemFilePreferencesConstants.LIMIT_CACHE)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.LIMIT_CACHE, ISystemFilePreferencesConstants.DEFAULT_LIMIT_CACHE);
|
store.setDefault(ISystemFilePreferencesConstants.LIMIT_CACHE, ISystemFilePreferencesConstants.DEFAULT_LIMIT_CACHE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.MAX_CACHE_SIZE)){
|
if (store.isDefault(ISystemFilePreferencesConstants.MAX_CACHE_SIZE)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.MAX_CACHE_SIZE, ISystemFilePreferencesConstants.DEFAULT_MAX_CACHE_SIZE);
|
store.setDefault(ISystemFilePreferencesConstants.MAX_CACHE_SIZE, ISystemFilePreferencesConstants.DEFAULT_MAX_CACHE_SIZE);
|
||||||
}
|
}
|
||||||
|
@ -137,32 +137,32 @@ public class Activator extends AbstractUIPlugin
|
||||||
// universal preferences
|
// universal preferences
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.FILETRANSFERMODEDEFAULT)){
|
if (store.isDefault(ISystemFilePreferencesConstants.FILETRANSFERMODEDEFAULT)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.FILETRANSFERMODEDEFAULT, ISystemFilePreferencesConstants.DEFAULT_FILETRANSFERMODE);
|
store.setDefault(ISystemFilePreferencesConstants.FILETRANSFERMODEDEFAULT, ISystemFilePreferencesConstants.DEFAULT_FILETRANSFERMODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.SHOWHIDDEN)){
|
if (store.isDefault(ISystemFilePreferencesConstants.SHOWHIDDEN)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.SHOWHIDDEN, false);
|
store.setDefault(ISystemFilePreferencesConstants.SHOWHIDDEN, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.PRESERVETIMESTAMPS)){
|
if (store.isDefault(ISystemFilePreferencesConstants.PRESERVETIMESTAMPS)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.PRESERVETIMESTAMPS, ISystemFilePreferencesConstants.DEFAULT_PRESERVETIMESTAMPS);
|
store.setDefault(ISystemFilePreferencesConstants.PRESERVETIMESTAMPS, ISystemFilePreferencesConstants.DEFAULT_PRESERVETIMESTAMPS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.SHARECACHEDFILES)){
|
if (store.isDefault(ISystemFilePreferencesConstants.SHARECACHEDFILES)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.SHARECACHEDFILES, ISystemFilePreferencesConstants.DEFAULT_SHARECACHEDFILES);
|
store.setDefault(ISystemFilePreferencesConstants.SHARECACHEDFILES, ISystemFilePreferencesConstants.DEFAULT_SHARECACHEDFILES);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.DOSUPERTRANSFER)){
|
if (store.isDefault(ISystemFilePreferencesConstants.DOSUPERTRANSFER)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.DOSUPERTRANSFER, ISystemFilePreferencesConstants.DEFAULT_DOSUPERTRANSFER);
|
store.setDefault(ISystemFilePreferencesConstants.DOSUPERTRANSFER, ISystemFilePreferencesConstants.DEFAULT_DOSUPERTRANSFER);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.SUPERTRANSFER_ARC_TYPE)){
|
if (store.isDefault(ISystemFilePreferencesConstants.SUPERTRANSFER_ARC_TYPE)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.SUPERTRANSFER_ARC_TYPE, ISystemFilePreferencesConstants.DEFAULT_SUPERTRANSFER_ARCHIVE_TYPE);
|
store.setDefault(ISystemFilePreferencesConstants.SUPERTRANSFER_ARC_TYPE, ISystemFilePreferencesConstants.DEFAULT_SUPERTRANSFER_ARCHIVE_TYPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.DOWNLOAD_BUFFER_SIZE)){
|
if (store.isDefault(ISystemFilePreferencesConstants.DOWNLOAD_BUFFER_SIZE)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.DOWNLOAD_BUFFER_SIZE, ISystemFilePreferencesConstants.DEFAULT_DOWNLOAD_BUFFER_SIZE);
|
store.setDefault(ISystemFilePreferencesConstants.DOWNLOAD_BUFFER_SIZE, ISystemFilePreferencesConstants.DEFAULT_DOWNLOAD_BUFFER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (store.isDefault(ISystemFilePreferencesConstants.UPLOAD_BUFFER_SIZE)){
|
if (store.isDefault(ISystemFilePreferencesConstants.UPLOAD_BUFFER_SIZE)){
|
||||||
store.setDefault(ISystemFilePreferencesConstants.UPLOAD_BUFFER_SIZE, ISystemFilePreferencesConstants.DEFAULT_DOWNLOAD_BUFFER_SIZE);
|
store.setDefault(ISystemFilePreferencesConstants.UPLOAD_BUFFER_SIZE, ISystemFilePreferencesConstants.DEFAULT_DOWNLOAD_BUFFER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue