File tree 5 files changed +12
-8
lines changed
src/main/java/org/opensearch/flowframework/util
5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ allprojects {
6
6
target ' **/*.java'
7
7
8
8
removeUnusedImports()
9
- importOrder(
10
- ' de.thetaphi' ,
9
+ importOrder(' de.thetaphi' ,
11
10
' com.carrotsearch' ,
12
11
' com.fasterxml' ,
13
12
' com.avast' ,
@@ -19,11 +18,10 @@ allprojects {
19
18
' javax' ,
20
19
' java' ,
21
20
' ' ,
22
- ' \\ #java|\\ #org.opensearch|\\ #org.hamcrest|\\ #'
23
- )
21
+ ' \\ #java|\\ #org.opensearch|\\ #org.hamcrest|\\ #' )
24
22
eclipse(). configFile rootProject. file(' formatter/formatterConfig.xml' )
25
23
trimTrailingWhitespace()
26
- endWithNewline();
24
+ endWithNewline()
27
25
28
26
// See DEVELOPER_GUIDE.md for details of when to enable this.
29
27
if (System . getProperty(' spotless.paddedcell' ) != null ) {
@@ -35,10 +33,10 @@ allprojects {
35
33
36
34
trimTrailingWhitespace()
37
35
endWithNewline()
38
- indentWithSpaces ()
36
+ leadingTabsToSpaces ()
39
37
}
40
38
format(" license" , {
41
- licenseHeaderFile(" ${ rootProject.file("formatter/license-header.txt")} " , " package " );
39
+ licenseHeaderFile(" ${ rootProject.file("formatter/license-header.txt")} " , " package " )
42
40
target(" src/*/java/**/*.java" )
43
41
})
44
42
}
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ public class ApiSpecFetcher {
40
40
PARSE_OPTIONS .setResolveFully (true );
41
41
}
42
42
43
+ private ApiSpecFetcher () {}
44
+
43
45
/**
44
46
* Parses the OpenAPI specification directly from the URI.
45
47
*
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public class EncryptorUtils {
76
76
private static final String WRAPPING_ALGORITHM = "AES/GCM/NOPADDING" ;
77
77
78
78
// concurrent map can't have null as a key. This key is to support single tenancy
79
- public static final String DEFAULT_TENANT_ID = "" ;
79
+ private static final String DEFAULT_TENANT_ID = "" ;
80
80
81
81
private final ClusterService clusterService ;
82
82
private final Client client ;
Original file line number Diff line number Diff line change 23
23
*/
24
24
public class TenantAwareHelper {
25
25
26
+ private TenantAwareHelper () {}
27
+
26
28
/**
27
29
* Validates the tenant ID based on the multi-tenancy feature setting.
28
30
*
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ public class WorkflowTimeoutUtility {
34
34
35
35
private static final Logger logger = LogManager .getLogger (WorkflowTimeoutUtility .class );
36
36
37
+ private WorkflowTimeoutUtility () {}
38
+
37
39
/**
38
40
* Schedules a timeout task for a workflow execution.
39
41
*
You can’t perform that action at this time.
0 commit comments