Skip to content

Commit 1ee524b

Browse files
committed
Checkstyle fixes for App Identity sample.
Getting ready to use shared java-repo-tools configuration.
1 parent 26f687a commit 1ee524b

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

appengine/appidentity/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Copyright 2015 Google Inc. All Rights Reserved.
9292
<dependency>
9393
<groupId>com.google.truth</groupId>
9494
<artifactId>truth</artifactId>
95-
<version>0.27</version>
95+
<version>0.28</version>
9696
<scope>test</scope>
9797
</dependency>
9898
</dependencies>

appengine/appidentity/src/test/java/com/example/appengine/appidentity/IdentityServletTest.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,24 @@
2020
import static org.mockito.Mockito.when;
2121

2222
import com.google.appengine.tools.development.testing.LocalServiceTestHelper;
23-
import org.mockito.Mock;
24-
import org.mockito.MockitoAnnotations;
23+
2524
import org.junit.After;
2625
import org.junit.Before;
2726
import org.junit.Test;
2827
import org.junit.runner.RunWith;
2928
import org.junit.runners.JUnit4;
29+
import org.mockito.Mock;
30+
import org.mockito.MockitoAnnotations;
3031

3132
import java.io.PrintWriter;
3233
import java.io.StringWriter;
3334

3435
import javax.servlet.http.HttpServletRequest;
3536
import javax.servlet.http.HttpServletResponse;
3637

37-
/** Unit tests for {@link IdentityServlet}. */
38+
/**
39+
* Unit tests for {@link IdentityServlet}.
40+
*/
3841
@RunWith(JUnit4.class)
3942
public class IdentityServletTest {
4043

appengine/appidentity/src/test/java/com/example/appengine/appidentity/SignForAppServletTest.java

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,43 @@
1-
/**
1+
/*
22
* Copyright 2016 Google Inc. All Rights Reserved.
33
*
4-
* <p>Licensed under the Apache License, Version 2.0 (the "License");
4+
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* <p>http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
10-
* <p>Unless required by applicable law or agreed to in writing, software
10+
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package com.example.appengine.appidentity;
1718

1819
import static com.google.common.truth.Truth.assertThat;
1920
import static org.mockito.Mockito.when;
2021

2122
import com.google.appengine.tools.development.testing.LocalServiceTestHelper;
22-
import org.mockito.Mock;
23-
import org.mockito.MockitoAnnotations;
23+
2424
import org.junit.After;
2525
import org.junit.Before;
2626
import org.junit.Test;
2727
import org.junit.runner.RunWith;
2828
import org.junit.runners.JUnit4;
29+
import org.mockito.Mock;
30+
import org.mockito.MockitoAnnotations;
2931

3032
import java.io.PrintWriter;
3133
import java.io.StringWriter;
3234

3335
import javax.servlet.http.HttpServletRequest;
3436
import javax.servlet.http.HttpServletResponse;
3537

36-
/** Unit tests for {@link SignForAppServlet}. */
38+
/**
39+
* Unit tests for {@link SignForAppServlet}.
40+
*/
3741
@RunWith(JUnit4.class)
3842
public class SignForAppServletTest {
3943

0 commit comments

Comments
 (0)