Skip to content

Commit 0606e52

Browse files
committed
run spotlessApply
1 parent 35e658c commit 0606e52

File tree

2 files changed

+12
-23
lines changed

2 files changed

+12
-23
lines changed

src/test/java/org/opensearch/commons/authuser/util/Base64HelperTest.java

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/*
2+
* Copyright OpenSearch Contributors
23
* SPDX-License-Identifier: Apache-2.0
3-
*
4-
* The OpenSearch Contributors require contributions made to
5-
* this file be licensed under the Apache-2.0 license or a
6-
* compatible open source license.
7-
*
8-
* Modifications Copyright OpenSearch Contributors. See
9-
* GitHub history for details.
104
*/
5+
116
package org.opensearch.commons.authuser.util;
127

8+
import static org.hamcrest.MatcherAssert.assertThat;
9+
import static org.hamcrest.Matchers.containsString;
10+
import static org.hamcrest.Matchers.is;
11+
import static org.junit.Assert.assertThrows;
12+
1313
import java.io.ByteArrayOutputStream;
1414
import java.io.ObjectOutputStream;
1515
import java.io.Serializable;
@@ -20,14 +20,8 @@
2020
import java.util.stream.IntStream;
2121

2222
import org.junit.Test;
23-
2423
import org.opensearch.OpenSearchException;
2524

26-
import static org.hamcrest.MatcherAssert.assertThat;
27-
import static org.hamcrest.Matchers.containsString;
28-
import static org.hamcrest.Matchers.is;
29-
import static org.junit.Assert.assertThrows;
30-
3125
public class Base64HelperTest {
3226

3327
private static final class NotSafeSerializable implements Serializable {

src/test/java/org/opensearch/commons/authuser/util/SafeSerializationUtilsTest.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/*
22
* Copyright OpenSearch Contributors
33
* SPDX-License-Identifier: Apache-2.0
4-
*
5-
* The OpenSearch Contributors require contributions made to
6-
* this file be licensed under the Apache-2.0 license or a
7-
* compatible open source license.
8-
*
94
*/
105

116
package org.opensearch.commons.authuser.util;
127

8+
import static org.junit.Assert.assertEquals;
9+
import static org.junit.Assert.assertFalse;
10+
import static org.junit.Assert.assertTrue;
11+
import static org.junit.Assert.fail;
12+
1313
import java.io.IOException;
1414
import java.net.InetAddress;
1515
import java.net.InetSocketAddress;
@@ -20,11 +20,6 @@
2020
import org.junit.After;
2121
import org.junit.Test;
2222

23-
import static org.junit.Assert.assertEquals;
24-
import static org.junit.Assert.assertFalse;
25-
import static org.junit.Assert.assertTrue;
26-
import static org.junit.Assert.fail;
27-
2823
public class SafeSerializationUtilsTest {
2924

3025
@After

0 commit comments

Comments
 (0)