Skip to content

Commit

Permalink
Removing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jherencia committed Feb 11, 2020
1 parent ddf0105 commit 9e50275
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions android/src/main/java/de/interwebs/pesdk/PESDKModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.facebook.react.bridge.ActivityEventListener;
import com.facebook.react.bridge.BaseActivityEventListener;
Expand Down Expand Up @@ -97,7 +95,7 @@ public PESDKModule(ReactApplicationContext context) {
}

// Config builder
private SettingsList buildConfig(ReadableMap options, @Nullable ReadableArray features, @Nullable Uri imageUri) {
private SettingsList buildConfig(ReadableMap options, ReadableArray features, Uri imageUri) {
SettingsList settingsList = new SettingsList();

settingsList.getSettingsModel(EditorSaveSettings.class)
Expand All @@ -122,7 +120,6 @@ public String getName() {
return "PESDK";
}

@Nullable
@Override
public Map<String, Object> getConstants() {
final Map<String, java.lang.Object> constants = new HashMap<String, Object>();
Expand All @@ -145,7 +142,7 @@ public Map<String, Object> getConstants() {
}

@ReactMethod
public void openEditor(@NonNull String image, ReadableArray features, ReadableMap options, final Promise promise) {
public void openEditor(String image, ReadableArray features, ReadableMap options, final Promise promise) {
if (getCurrentActivity() == null) {
promise.reject(E_ACTIVITY_DOES_NOT_EXIST, "Activity does not exist");
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photo-editor-sdk-react-native",
"version": "1.3.0",
"version": "1.3.1",
"description": "React Native implementation of the photoeditorsdk (https://www.photoeditorsdk.com/)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9e50275

Please sign in to comment.