diff --git a/src/android/Clipboard.java b/src/android/Clipboard.java index 856494a..438ebc1 100644 --- a/src/android/Clipboard.java +++ b/src/android/Clipboard.java @@ -34,7 +34,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo } catch (JSONException e) { callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.JSON_EXCEPTION)); } catch (Exception e) { - callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR,e.toString())); + callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, e.toString())); } } else if (action.equals(actionPaste)) { if (!clipboard.getPrimaryClipDescription().hasMimeType(ClipDescription.MIMETYPE_TEXT_PLAIN)) { @@ -43,7 +43,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo try { ClipData.Item item = clipboard.getPrimaryClip().getItemAt(0); - String text = item.getText().toString() ; + String text = item.getText().toString(); if (text == null) text = ""; @@ -51,7 +51,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo return true; } catch (Exception e) { - callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR,e.toString())); + callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, e.toString())); } }