mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 09:35:23 +02:00
remove printlns
This commit is contained in:
parent
565bb1d4bb
commit
baf42cfefc
15 changed files with 30 additions and 30 deletions
|
@ -909,7 +909,7 @@ public class ClientConnection implements IDataStoreConstants
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.out.println("handshake=" + handshake);
|
//System.out.println("handshake=" + handshake);
|
||||||
return HANDSHAKE_INCORRECT;
|
return HANDSHAKE_INCORRECT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -167,7 +167,7 @@ public class RemoteClassLoader extends ClassLoader
|
||||||
*/
|
*/
|
||||||
protected Class findClass(String className) throws ClassNotFoundException
|
protected Class findClass(String className) throws ClassNotFoundException
|
||||||
{
|
{
|
||||||
System.out.println("finding "+className);
|
//System.out.println("finding "+className);
|
||||||
|
|
||||||
// first try using the datastore's local classloaders
|
// first try using the datastore's local classloaders
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ public class RemoteClassLoader extends ClassLoader
|
||||||
Class theClass = super.findClass(className);
|
Class theClass = super.findClass(className);
|
||||||
if (theClass != null)
|
if (theClass != null)
|
||||||
{
|
{
|
||||||
System.out.println("Using super's: " + className);
|
//System.out.println("Using super's: " + className);
|
||||||
return theClass;
|
return theClass;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ public class RemoteClassLoader extends ClassLoader
|
||||||
|
|
||||||
Class theClass = _urlClassLoader.findCachedClass(className);
|
Class theClass = _urlClassLoader.findCachedClass(className);
|
||||||
|
|
||||||
System.out.println("Using cached: " + className);
|
//System.out.println("Using cached: " + className);
|
||||||
return theClass;
|
return theClass;
|
||||||
}
|
}
|
||||||
catch (Throwable e)
|
catch (Throwable e)
|
||||||
|
|
|
@ -487,7 +487,7 @@ public class DStoreConnectorService extends AbstractConnectorService implements
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.out.println("server launcher is null");
|
// System.out.println("server launcher is null");
|
||||||
}
|
}
|
||||||
|
|
||||||
long t1 = System.currentTimeMillis();
|
long t1 = System.currentTimeMillis();
|
||||||
|
@ -822,7 +822,7 @@ public class DStoreConnectorService extends AbstractConnectorService implements
|
||||||
|
|
||||||
long t2 = System.currentTimeMillis();
|
long t2 = System.currentTimeMillis();
|
||||||
|
|
||||||
System.out.println("connect time = "+(t2 - t1));
|
//System.out.println("connect time = "+(t2 - t1));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -581,7 +581,7 @@ public class SystemRemoteEditManager
|
||||||
{
|
{
|
||||||
if (!inUse())
|
if (!inUse())
|
||||||
{
|
{
|
||||||
System.out.println("deleting " + _theFile.getName());
|
//System.out.println("deleting " + _theFile.getName());
|
||||||
_theFile.getLocation().toFile().delete();
|
_theFile.getLocation().toFile().delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -613,7 +613,7 @@ public class SystemRemoteEditManager
|
||||||
IFile file = ((IFileEditorInput) editorInput).getFile();
|
IFile file = ((IFileEditorInput) editorInput).getFile();
|
||||||
if (file.equals(_theFile))
|
if (file.equals(_theFile))
|
||||||
{
|
{
|
||||||
System.out.println(file.getName() + " is in use");
|
//System.out.println(file.getName() + " is in use");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1823,7 +1823,7 @@ public class SystemViewRemoteFileAdapter
|
||||||
}
|
}
|
||||||
else // why not same system? should we even get here?
|
else // why not same system? should we even get here?
|
||||||
{
|
{
|
||||||
System.out.println("HOW DID I GET HERE?!!");
|
//System.out.println("HOW DID I GET HERE?!!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2064,7 +2064,7 @@ public class SystemViewRemoteFileAdapter
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
System.out.println("how do we get here!??");
|
//System.out.println("how do we get here!??");
|
||||||
|
|
||||||
if (srcFileOrFolder.isFile())
|
if (srcFileOrFolder.isFile())
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,9 +292,9 @@ public class CommandMinerThread extends MinerThread
|
||||||
args[1] = "/C ";
|
args[1] = "/C ";
|
||||||
}
|
}
|
||||||
args[2] = _invocation;
|
args[2] = _invocation;
|
||||||
System.out.println("getting env...");
|
|
||||||
String[] env = getEnvironment(_subject);
|
String[] env = getEnvironment(_subject);
|
||||||
System.out.println("...got env");
|
|
||||||
if (_invocation.equals(theShell))
|
if (_invocation.equals(theShell))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,7 @@ public class UniversalByteStreamHandler extends ByteStreamHandler
|
||||||
VirtualChild child = mgr.getVirtualObject(virtualFileName);
|
VirtualChild child = mgr.getVirtualObject(virtualFileName);
|
||||||
if (!child.exists())
|
if (!child.exists())
|
||||||
{
|
{
|
||||||
System.out.println(virtualFileName + " does not exist.");
|
//System.out.println(virtualFileName + " does not exist.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ISystemArchiveHandler handler = child.getHandler();
|
ISystemArchiveHandler handler = child.getHandler();
|
||||||
|
|
|
@ -1144,8 +1144,8 @@ private DataElement createDataElementFromLSString(DataElement subject,
|
||||||
File filerename = new File(subject.getAttribute(DE.A_VALUE)
|
File filerename = new File(subject.getAttribute(DE.A_VALUE)
|
||||||
+ File.separatorChar + subject.getAttribute(DE.A_SOURCE));
|
+ File.separatorChar + subject.getAttribute(DE.A_SOURCE));
|
||||||
|
|
||||||
System.out.println(ArchiveHandlerManager.isVirtual(fileoldname
|
// System.out.println(ArchiveHandlerManager.isVirtual(fileoldname
|
||||||
.getAbsolutePath()));
|
// .getAbsolutePath()));
|
||||||
if (ArchiveHandlerManager.isVirtual(fileoldname.getAbsolutePath())) {
|
if (ArchiveHandlerManager.isVirtual(fileoldname.getAbsolutePath())) {
|
||||||
AbsoluteVirtualPath oldAbsPath = new AbsoluteVirtualPath(
|
AbsoluteVirtualPath oldAbsPath = new AbsoluteVirtualPath(
|
||||||
fileoldname.getAbsolutePath());
|
fileoldname.getAbsolutePath());
|
||||||
|
|
|
@ -85,8 +85,8 @@ public abstract class AbstractDStoreService implements IDStoreService
|
||||||
int resultSize = subject.getNestedSize();
|
int resultSize = subject.getNestedSize();
|
||||||
if (resultSize == 0)
|
if (resultSize == 0)
|
||||||
{
|
{
|
||||||
System.out.println("status="+status);
|
//System.out.println("status="+status);
|
||||||
System.out.println("subject="+subject);
|
//System.out.println("subject="+subject);
|
||||||
}
|
}
|
||||||
checkHostJVM();
|
checkHostJVM();
|
||||||
// get results
|
// get results
|
||||||
|
|
|
@ -209,7 +209,7 @@ public class ArchiveHandlerManager
|
||||||
String ext = getExtension(file);
|
String ext = getExtension(file);
|
||||||
if (!_handlerTypes.containsKey(ext))
|
if (!_handlerTypes.containsKey(ext))
|
||||||
{
|
{
|
||||||
System.out.println("Unknown archive file type: " + ext);
|
//System.out.println("Unknown archive file type: " + ext);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -796,7 +796,7 @@ public class SystemFilterPoolReferenceManager extends SystemPersistableReference
|
||||||
public void save()
|
public void save()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
System.out.println("Saving filter pool " + this.getName() + "?"); // DWD - debugging
|
//System.out.println("Saving filter pool " + this.getName() + "?"); // DWD - debugging
|
||||||
switch(savePolicy)
|
switch(savePolicy)
|
||||||
{
|
{
|
||||||
// ONE FILE PER FILTER POOL REFERENCE MANAGER
|
// ONE FILE PER FILTER POOL REFERENCE MANAGER
|
||||||
|
|
|
@ -112,7 +112,7 @@ public class PropertyFileProvider implements IRSEPersistenceProvider {
|
||||||
public boolean saveRSEDOM(RSEDOM dom, IProgressMonitor monitor) {
|
public boolean saveRSEDOM(RSEDOM dom, IProgressMonitor monitor) {
|
||||||
String profileName = dom.getName();
|
String profileName = dom.getName();
|
||||||
IFolder providerFolder = getProviderFolder();
|
IFolder providerFolder = getProviderFolder();
|
||||||
System.out.println("saving profile " + profileName + " to " + providerFolder.getFullPath().toString() + "..."); // DWD debugging
|
//System.out.println("saving profile " + profileName + " to " + providerFolder.getFullPath().toString() + "..."); // DWD debugging
|
||||||
try {
|
try {
|
||||||
int n = countNodes(dom);
|
int n = countNodes(dom);
|
||||||
if (monitor != null) monitor.beginTask("Saving DOM", n);
|
if (monitor != null) monitor.beginTask("Saving DOM", n);
|
||||||
|
@ -435,13 +435,13 @@ public class PropertyFileProvider implements IRSEPersistenceProvider {
|
||||||
RSEDOM dom = null;
|
RSEDOM dom = null;
|
||||||
IFolder profileFolder = getProfileFolder(profileName);
|
IFolder profileFolder = getProfileFolder(profileName);
|
||||||
if (profileFolder.exists()) {
|
if (profileFolder.exists()) {
|
||||||
System.out.println("loading from " + profileFolder.getFullPath().toString() + "..."); // DWD debugging
|
//System.out.println("loading from " + profileFolder.getFullPath().toString() + "..."); // DWD debugging
|
||||||
int n = countPropertiesFiles(profileFolder);
|
int n = countPropertiesFiles(profileFolder);
|
||||||
if (monitor != null) monitor.beginTask("Loading DOM", n);
|
if (monitor != null) monitor.beginTask("Loading DOM", n);
|
||||||
dom = (RSEDOM) loadNode(null, profileFolder, monitor);
|
dom = (RSEDOM) loadNode(null, profileFolder, monitor);
|
||||||
if (monitor != null) monitor.done();
|
if (monitor != null) monitor.done();
|
||||||
} else {
|
} else {
|
||||||
System.out.println(profileFolder.getFullPath().toString() + " does not exist.");
|
//System.out.println(profileFolder.getFullPath().toString() + " does not exist.");
|
||||||
}
|
}
|
||||||
return dom;
|
return dom;
|
||||||
}
|
}
|
||||||
|
|
|
@ -240,7 +240,7 @@ public class RSEPersistenceManager implements IRSEPersistenceManager
|
||||||
|
|
||||||
public boolean restore(ISystemFilterPool filterPool)
|
public boolean restore(ISystemFilterPool filterPool)
|
||||||
{
|
{
|
||||||
System.out.println("restore filterpool");
|
//System.out.println("restore filterpool");
|
||||||
// DWD function Is this method really needed?
|
// DWD function Is this method really needed?
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -248,7 +248,7 @@ public class RSEPersistenceManager implements IRSEPersistenceManager
|
||||||
|
|
||||||
public boolean commit(ISystemFilter filter)
|
public boolean commit(ISystemFilter filter)
|
||||||
{
|
{
|
||||||
System.out.println("commit filter");
|
// System.out.println("commit filter");
|
||||||
// DWD function Is this method really needed?
|
// DWD function Is this method really needed?
|
||||||
/*
|
/*
|
||||||
if (filter.isDirty())
|
if (filter.isDirty())
|
||||||
|
@ -268,7 +268,7 @@ public class RSEPersistenceManager implements IRSEPersistenceManager
|
||||||
|
|
||||||
public ISystemFilterPool restoreFilterPool(String name)
|
public ISystemFilterPool restoreFilterPool(String name)
|
||||||
{
|
{
|
||||||
System.out.println("restore filter pool "+name);
|
//System.out.println("restore filter pool "+name);
|
||||||
// DWD function is this method really needed?
|
// DWD function is this method really needed?
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -405,7 +405,7 @@ public class RSEPersistenceManager implements IRSEPersistenceManager
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
System.out.println("no save required");
|
//System.out.println("no save required");
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,7 +96,7 @@ public class SerializingProvider implements IRSEPersistenceProvider
|
||||||
IFile profileFile = getProfileFile(profileName, monitor);
|
IFile profileFile = getProfileFile(profileName, monitor);
|
||||||
if (profileFile.exists())
|
if (profileFile.exists())
|
||||||
{
|
{
|
||||||
System.out.println("loading "+ profileFile.getLocation().toOSString() + "..."); // DWD debugging
|
//System.out.println("loading "+ profileFile.getLocation().toOSString() + "..."); // DWD debugging
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
InputStream iStream = profileFile.getContents();
|
InputStream iStream = profileFile.getContents();
|
||||||
|
@ -160,7 +160,7 @@ public class SerializingProvider implements IRSEPersistenceProvider
|
||||||
|
|
||||||
IFile profileFile = getProfileFile(dom.getName(), monitor);
|
IFile profileFile = getProfileFile(dom.getName(), monitor);
|
||||||
File osFile = profileFile.getLocation().toFile();
|
File osFile = profileFile.getLocation().toFile();
|
||||||
System.out.println("saving "+ osFile.getAbsolutePath() + "..."); // DWD debugging
|
// System.out.println("saving "+ osFile.getAbsolutePath() + "..."); // DWD debugging
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
OutputStream oStream = new FileOutputStream(osFile);
|
OutputStream oStream = new FileOutputStream(osFile);
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class RSEDOM extends RSEDOMNode
|
||||||
{
|
{
|
||||||
if (!restoring && !_needsSave)
|
if (!restoring && !_needsSave)
|
||||||
{
|
{
|
||||||
System.out.println("RSEDOM "+getName() + " needs saving");
|
//System.out.println("RSEDOM "+getName() + " needs saving");
|
||||||
_needsSave = true;
|
_needsSave = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ public class RSEDOM extends RSEDOMNode
|
||||||
{
|
{
|
||||||
if (_needsSave)
|
if (_needsSave)
|
||||||
{
|
{
|
||||||
System.out.println("RSEDOM "+getName() + " is up to date");
|
//System.out.println("RSEDOM "+getName() + " is up to date");
|
||||||
|
|
||||||
_needsSave = false;
|
_needsSave = false;
|
||||||
_saveScheduled = false;
|
_saveScheduled = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue