Skip to content

Commit

Permalink
code updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jojustin committed Feb 25, 2022
1 parent 1b272fd commit 4e37c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String getBluetoothEarPhones(String user) {

private String createEntity(final String user, final Feature feature) {
JSONObject entityAttributes = new JSONObject();
if(!user.isEmpty()) {
if(user != null & !user.isEmpty()) {
entityAttributes.put("email", user);
return String.valueOf(feature.getCurrentValue(user, entityAttributes));
}
Expand Down

0 comments on commit 4e37c16

Please sign in to comment.