-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPMRPP-82591 || Logs with attachments null pointer #949
EPMRPP-82591 || Logs with attachments null pointer #949
Conversation
…ts-null-pointer' into EPMRPP-82591-logs-with-attachments-null-pointer
@@ -52,6 +52,9 @@ public LocalDataStore(BlobStore blobStore, FeatureFlagHandler featureFlagHandler | |||
|
|||
@Override | |||
public String save(String filePath, InputStream inputStream) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -69,6 +72,9 @@ public String save(String filePath, InputStream inputStream) { | |||
|
|||
@Override | |||
public InputStream load(String filePath) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -83,6 +89,9 @@ public InputStream load(String filePath) { | |||
|
|||
@Override | |||
public boolean exists(String filePath) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -94,6 +103,9 @@ public boolean exists(String filePath) { | |||
|
|||
@Override | |||
public void delete(String filePath) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -77,6 +77,9 @@ public S3DataStore(BlobStore blobStore, String bucketPrefix, String bucketPostfi | |||
|
|||
@Override | |||
public String save(String filePath, InputStream inputStream) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -102,6 +105,10 @@ public String save(String filePath, InputStream inputStream) { | |||
|
|||
@Override | |||
public InputStream load(String filePath) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
@@ -117,12 +124,18 @@ public InputStream load(String filePath) { | |||
|
|||
@Override | |||
public boolean exists(String filePath) { | |||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
StoredFile storedFile = getStoredFile(filePath); | ||
return blobStore.blobExists(storedFile.getBucket(), storedFile.getFilePath()); | ||
} | ||
|
||
@Override | ||
public void delete(String filePath) { | ||
if (filePath == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
No description provided.