Skip to content

Commit 53b324c

Browse files
committed
Correct CheckStyle errors
1 parent cdde985 commit 53b324c

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ItElasticLogging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ private void downloadWlsLoggingExporterJars() throws Exception {
423423

424424
// Make sure downloading completed
425425
while (i < BaseTest.getMaxIterationsPod()) {
426-
if(wlsLoggingExpFile.exists() && snakeyamlFile.exists()) {
426+
if (wlsLoggingExpFile.exists() && snakeyamlFile.exists()) {
427427
break;
428428
}
429429

integration-tests/src/test/java/oracle/kubernetes/operator/ItSitConfigDomainInImage.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
package oracle.kubernetes.operator;
66

7-
import static oracle.kubernetes.operator.BaseTest.QUICKTEST;
8-
import static oracle.kubernetes.operator.BaseTest.logger;
9-
107
import java.util.logging.Level;
8+
119
import org.junit.AfterClass;
1210
import org.junit.Assume;
1311
import org.junit.BeforeClass;
@@ -72,7 +70,7 @@ public void testCustomSitConfigOverridesForDomainInImage() throws Exception {
7270
* @throws Exception when the assertion fails due to unmatched values
7371
*/
7472
@Test
75-
public void testCustomSitConfigOverridesForDomainMSInImage() throws Exception {
73+
public void testCustomSitConfigOverridesForDomainMsInImage() throws Exception {
7674
Assume.assumeFalse(QUICKTEST);
7775
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
7876
logTestBegin(testMethod);

integration-tests/src/test/java/oracle/kubernetes/operator/ItSitConfigDomainInPV.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
// Licensed under the Universal Permissive License v 1.0 as shown at
33
// http://oss.oracle.com/licenses/upl.
4-
package oracle.kubernetes.operator;
54

6-
import static oracle.kubernetes.operator.BaseTest.QUICKTEST;
7-
import static oracle.kubernetes.operator.BaseTest.logger;
5+
package oracle.kubernetes.operator;
86

97
import java.util.logging.Level;
8+
109
import org.junit.AfterClass;
1110
import org.junit.Assume;
1211
import org.junit.BeforeClass;
@@ -70,7 +69,7 @@ public void testCustomSitConfigOverridesForDomainInPV() throws Exception {
7069
* @throws Exception when the assertion fails due to unmatched values
7170
*/
7271
@Test
73-
public void testCustomSitConfigOverridesForDomainMSInPV() throws Exception {
72+
public void testCustomSitConfigOverridesForDomainMsInPV() throws Exception {
7473
Assume.assumeFalse(QUICKTEST);
7574
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
7675
logTestBegin(testMethod);

integration-tests/src/test/java/oracle/kubernetes/operator/SitConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import java.nio.file.StandardOpenOption;
1616
import java.util.Map;
1717
import java.util.logging.Level;
18+
1819
import oracle.kubernetes.operator.utils.Domain;
1920
import oracle.kubernetes.operator.utils.ExecResult;
2021
import oracle.kubernetes.operator.utils.Operator;
@@ -176,7 +177,7 @@ private static void destroySitConfigDomain() throws Exception {
176177
*
177178
* @throws IOException when copying files from source location to staging area fails
178179
*/
179-
private static void copySitConfigFiles(String files[], String secretName) throws IOException {
180+
private static void copySitConfigFiles(String[] files, String secretName) throws IOException {
180181
String srcDir = TEST_RES_DIR + "/sitconfig/configoverrides";
181182
String dstDir = configOverrideDir;
182183

0 commit comments

Comments
 (0)