Skip to content

Commit 6f9e35c

Browse files
committed
#1807: Refactor exception handling annotations.
1 parent 1f60339 commit 6f9e35c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+59
-59
lines changed

src/main/java/com/jcabi/github/Bulk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public Bulk(final Iterable<T> items) {
7979
result = method.invoke(item, args);
8080
} catch (
8181
final IllegalAccessException
82-
| InvocationTargetException ex
82+
| InvocationTargetException ex
8383
) {
8484
throw new IllegalStateException(ex);
8585
}

src/main/java/com/jcabi/github/RtAssignees.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@Immutable
2222
@Loggable(Loggable.DEBUG)
2323
@EqualsAndHashCode(of = { "entry", "request", "owner" })
24-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
24+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2525
final class RtAssignees implements Assignees {
2626

2727
/**

src/main/java/com/jcabi/github/RtBlob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@Immutable
1919
@Loggable(Loggable.DEBUG)
2020
@EqualsAndHashCode(of = {"request", "hash" })
21-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
21+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2222
final class RtBlob implements Blob {
2323

2424
/**

src/main/java/com/jcabi/github/RtBlobs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@Immutable
2222
@Loggable(Loggable.DEBUG)
2323
@EqualsAndHashCode(of = { "entry", "owner", "request" })
24-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
24+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2525
final class RtBlobs implements Blobs {
2626

2727
/**

src/main/java/com/jcabi/github/RtBranches.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@Immutable
1818
@Loggable(Loggable.DEBUG)
1919
@EqualsAndHashCode(of = {"entry", "request", "owner" })
20-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
20+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2121
final class RtBranches implements Branches {
2222
/**
2323
* RESTful API entry point.

src/main/java/com/jcabi/github/RtComment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Immutable
2424
@Loggable(Loggable.DEBUG)
2525
@EqualsAndHashCode(of = { "request", "owner", "num" })
26-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
26+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2727
final class RtComment implements Comment {
2828

2929
/**

src/main/java/com/jcabi/github/RtComments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@Immutable
2525
@Loggable(Loggable.DEBUG)
2626
@EqualsAndHashCode(of = { "request", "owner" })
27-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
27+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2828
final class RtComments implements Comments {
2929

3030
/**

src/main/java/com/jcabi/github/RtCommit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@Immutable
2020
@Loggable(Loggable.DEBUG)
2121
@EqualsAndHashCode(of = { "request", "owner", "hash" })
22-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
22+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2323
final class RtCommit implements Commit {
2424

2525
/**

src/main/java/com/jcabi/github/RtContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Immutable
2424
@Loggable(Loggable.DEBUG)
2525
@EqualsAndHashCode(of = { "location", "request", "owner" })
26-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
26+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2727
final class RtContent implements Content {
2828

2929
/**

src/main/java/com/jcabi/github/RtEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@Immutable
2121
@Loggable(Loggable.DEBUG)
2222
@EqualsAndHashCode(of = { "request", "owner", "num" })
23-
@SuppressWarnings({"PMD.ConstructorOnlyInitializesOrCallOtherConstructors"})
23+
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
2424
final class RtEvent implements Event {
2525

2626
/**

0 commit comments

Comments
 (0)