Remove unneeded debug log statements.

This commit is contained in:
Bryce Curtis 2010-10-28 16:28:24 -05:00
parent 35b3808701
commit 577284b960
4 changed files with 1 additions and 11 deletions

View File

@ -40,7 +40,6 @@ Accelerometer.ERROR_MSG = ["Not running", "Starting", "", "Failed to start"];
* @param {AccelerationOptions} options The options for getting the accelerometer data such as timeout. (OPTIONAL)
*/
Accelerometer.prototype.getCurrentAcceleration = function(successCallback, errorCallback, options) {
console.log("Accelerometer.getCurrentAcceleration()");
// successCallback required
if (typeof successCallback != "function") {

View File

@ -36,7 +36,6 @@ public class FileUtils extends Plugin {
* Constructor.
*/
public FileUtils() {
System.out.println("FileUtils()");
}
/**
@ -156,7 +155,6 @@ public class FileUtils extends Plugin {
* @throws FileNotFoundException, IOException
*/
public String readAsText(String filename, String encoding) throws FileNotFoundException, IOException {
System.out.println("FileUtils.readAsText("+filename+", "+encoding+")");
StringBuilder data = new StringBuilder();
FileInputStream fis = new FileInputStream(filename);
BufferedReader reader = new BufferedReader(new InputStreamReader(fis, encoding), 1024);

1
framework/src/com/phonegap/HttpHandler.java Normal file → Executable file
View File

@ -62,7 +62,6 @@ public class HttpHandler {
if (numread <= 0)
break;
out.write(buff, 0, numread);
System.out.println("numread" + numread);
i++;
} while (true);
out.flush();

View File

@ -37,7 +37,6 @@ public final class PluginManager {
* @param ctx
*/
public PluginManager(WebView app, DroidGap ctx) {
System.out.println("PluginManager()");
this.ctx = ctx;
this.app = app;
}
@ -66,7 +65,6 @@ public final class PluginManager {
*/
@SuppressWarnings("unchecked")
public String exec(final String service, final String action, final String callbackId, final String jsonArgs, final boolean async) {
System.out.println("PluginManager.exec("+service+", "+action+", "+callbackId+", "+jsonArgs+", "+async+")");
PluginResult cr = null;
boolean runAsync = async;
try {
@ -133,9 +131,6 @@ public final class PluginManager {
}
ctx.sendJavascript(cr.toErrorCallbackString(callbackId));
}
if (cr != null) {
System.out.println(" -- returning result: "+cr.getJSONString());
}
return ( cr != null ? cr.getJSONString() : "{ status: 0, message: 'all good' }" );
}
@ -197,7 +192,6 @@ public final class PluginManager {
if (this.plugins.containsKey(className)) {
return this.getPlugin(className);
}
System.out.println("PluginManager.addPlugin("+className+")");
try {
Plugin plugin = (Plugin)clazz.newInstance();
this.plugins.put(className, plugin);
@ -233,7 +227,7 @@ public final class PluginManager {
public void addService(String serviceType, String className) {
this.services.put(serviceType, className);
}
/**
* Called when the system is about to start resuming a previous activity.
*/