[CB-4410] Fixed @param mismatching

This commit is contained in:
Sharif Ahmed 2013-07-28 13:09:44 +06:00 committed by Max Woghiren
parent 5c38101a9e
commit 810df61049
4 changed files with 5 additions and 8 deletions

View File

@ -110,8 +110,6 @@ public class CallbackContext {
/**
* Helper for success callbacks that just returns the Status.OK by default
*
* @param message The message to add to the success result.
*/
public void success() {
sendPluginResult(new PluginResult(PluginResult.Status.OK));
@ -130,7 +128,6 @@ public class CallbackContext {
* Helper for error callbacks that just returns the Status.ERROR by default
*
* @param message The message to add to the error result.
* @param callbackId The callback id used when calling back into JavaScript.
*/
public void error(String message) {
sendPluginResult(new PluginResult(PluginResult.Status.ERROR, message));
@ -140,7 +137,6 @@ public class CallbackContext {
* Helper for error callbacks that just returns the Status.ERROR by default
*
* @param message The message to add to the error result.
* @param callbackId The callback id used when calling back into JavaScript.
*/
public void error(int message) {
sendPluginResult(new PluginResult(PluginResult.Status.ERROR, message));

View File

@ -776,7 +776,7 @@ public class CordovaActivity extends Activity implements CordovaInterface {
* Send JavaScript statement back to JavaScript.
* (This is a convenience method)
*
* @param message
* @param statement
*/
public void sendJavascript(String statement) {
if (this.appView != null) {

View File

@ -148,7 +148,7 @@ public class CordovaPlugin {
* @param requestCode The request code originally supplied to startActivityForResult(),
* allowing you to identify who this result came from.
* @param resultCode The integer result code returned by the child activity through its setResult().
* @param data An Intent, which can return result data to the caller (various data can be attached to Intent "extras").
* @param intent An Intent, which can return result data to the caller (various data can be attached to Intent "extras").
*/
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
}

View File

@ -511,7 +511,7 @@ public class CordovaWebView extends WebView {
* Send JavaScript statement back to JavaScript.
* (This is a convenience method)
*
* @param message
* @param statement
*/
public void sendJavascript(String statement) {
this.jsMessageQueue.addJavaScript(statement);
@ -521,7 +521,8 @@ public class CordovaWebView extends WebView {
* Send a plugin result back to JavaScript.
* (This is a convenience method)
*
* @param message
* @param result
* @param callbackId
*/
public void sendPluginResult(PluginResult result, String callbackId) {
this.jsMessageQueue.addPluginResult(result, callbackId);