Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
carlspring authored Feb 2, 2021
1 parent 196fdef commit 2a19db4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.carlspring.cloud.storage.s3fs;


import org.carlspring.cloud.storage.s3fs.util.EnvironmentBuilder;
import org.carlspring.cloud.storage.s3fs.util.MinioContainer;

Expand Down
6 changes: 3 additions & 3 deletions src/test/java/org/carlspring/cloud/storage/s3fs/BaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected String getTestBasePath()
})
.collect(Collectors.toList());

if(elements.size() > 0)
if (elements.size() > 0)
{
StackTraceElement last = elements.get(elements.size() - 1);
String className = last.getClassName();
Expand All @@ -61,11 +61,11 @@ protected String getTestBasePath()
int modifiers = clazz.getModifiers();
boolean isAbstract = Modifier.isAbstract(modifiers);

if(!isAbstract)
if (!isAbstract)
{
Method method = clazz.getDeclaredMethod(methodName);
Test hasTestAnnotation = method.getDeclaredAnnotation(Test.class);
if(hasTestAnnotation != null)
if (hasTestAnnotation != null)
{
// Additional prefix after the class name for better differentiation.
String prNumber = System.getenv(PR_NUMBER_ENV_VAR);
Expand Down

0 comments on commit 2a19db4

Please sign in to comment.