Skip to content

Commit 43ef76f

Browse files
committed
Run spotlessApply
1 parent 3e3f4b2 commit 43ef76f

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

src/main/java/org/kohsuke/github/GHRepository.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3577,10 +3577,11 @@ private PagedIterable<GHCodeScanningAlert> listCodeScanningAlerts(Map<String, Ob
35773577
/**
35783578
* Get code scanning alert by id
35793579
*
3580-
* <p>See:
3581-
* <a href=
3580+
* <p>
3581+
* See: <a href=
35823582
* "https://docs.github.com/en/rest/code-scanning/code-scanning?apiVersion=2022-11-28#get-a-code-scanning-alert">
3583-
* Get a code scanning alert</a></p>
3583+
* Get a code scanning alert</a>
3584+
* </p>
35843585
*
35853586
* @param id
35863587
* id of the code scanning alert

src/test/java/org/kohsuke/github/GHCodeScanningAlertInstanceTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public class GHCodeScanningAlertInstanceTest extends AbstractGitHubWireMockTest
2323
/**
2424
* Load a dismissed alert from the code scanning api web response
2525
*
26-
* @throws Exception the exception
26+
* @throws Exception
27+
* the exception
2728
*/
2829
@Before
2930
public void setUp() throws Exception {
@@ -41,7 +42,9 @@ private GHCodeScanningAlert getAlertFromRepo(GHRepository repo) {
4142

4243
/**
4344
* Test that an alert returns a list of its own instances
44-
* @throws IOException could not get a compatible response
45+
*
46+
* @throws IOException
47+
* could not get a compatible response
4548
*/
4649
@Test
4750
public void testListAlertInstances() throws IOException {

src/test/java/org/kohsuke/github/GHCodeScanningAlertTest.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public class GHCodeScanningAlertTest extends AbstractGitHubWireMockTest {
2727
/**
2828
* Set up the test with alerts from a purpose-made repo
2929
*
30-
* @throws Exception trouble
30+
* @throws Exception
31+
* trouble
3132
*/
3233
@Before
3334
public void setUp() throws Exception {
3435
repo = gitHub.getRepository(GITHUB_API_TEST_ORG + "/" + REPO_NAME);
3536
}
3637

3738
/**
38-
* Check that we can get a list of alerts for a repo and that the response contains
39-
* values in its required fields.
39+
* Check that we can get a list of alerts for a repo and that the response contains values in its required fields.
4040
*/
4141
@Test
4242
public void testListCodeScanningAlerts() {
@@ -82,9 +82,12 @@ public void testListCodeScanningAlerts() {
8282
/**
8383
* Get the data for a single alert and verify that the additional details are filled in.
8484
*
85-
* @throws IOException encountered an error while retrieving a response
86-
* @throws InvocationTargetException tried to reflectively invoke a method incorrectly
87-
* @throws IllegalAccessException tried to reflectively invoke a method that didn't want to be called
85+
* @throws IOException
86+
* encountered an error while retrieving a response
87+
* @throws InvocationTargetException
88+
* tried to reflectively invoke a method incorrectly
89+
* @throws IllegalAccessException
90+
* tried to reflectively invoke a method that didn't want to be called
8891
*/
8992
@Test
9093
public void testGetCodeScanningAlert() throws IOException, InvocationTargetException, IllegalAccessException {

0 commit comments

Comments
 (0)