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