Skip to content

Commit 7d10cd5

Browse files
committed
Fix code smells
1 parent 3338c09 commit 7d10cd5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/apptasticsoftware/rssreader/module/slash/internal/SlashItemDataImpl.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public SlashItemData getSlashItemData() {
2424
*
2525
* @return an Optional containing the section, or empty if not set
2626
*/
27+
@Override
2728
public Optional<String> getSlashSection() {
2829
return Optional.ofNullable(slashSection);
2930
}
@@ -33,6 +34,7 @@ public Optional<String> getSlashSection() {
3334
*
3435
* @param slashSection the section to set
3536
*/
37+
@Override
3638
public void setSlashSection(String slashSection) {
3739
this.slashSection = slashSection;
3840
}
@@ -42,6 +44,7 @@ public void setSlashSection(String slashSection) {
4244
*
4345
* @return an Optional containing the department, or empty if not set
4446
*/
47+
@Override
4548
public Optional<String> getSlashDepartment() {
4649
return Optional.ofNullable(slashDepartment);
4750
}
@@ -51,6 +54,7 @@ public Optional<String> getSlashDepartment() {
5154
*
5255
* @param slashDepartment the department to set
5356
*/
57+
@Override
5458
public void setSlashDepartment(String slashDepartment) {
5559
this.slashDepartment = slashDepartment;
5660
}
@@ -60,6 +64,7 @@ public void setSlashDepartment(String slashDepartment) {
6064
*
6165
* @return an Optional containing the comment count, or empty if not set
6266
*/
67+
@Override
6368
public Optional<Integer> getSlashComments() {
6469
return Optional.ofNullable(slashComments);
6570
}
@@ -69,6 +74,7 @@ public Optional<Integer> getSlashComments() {
6974
*
7075
* @param slashComments the comment count to set
7176
*/
77+
@Override
7278
public void setSlashComments(Integer slashComments) {
7379
this.slashComments = slashComments;
7480
}
@@ -78,6 +84,7 @@ public void setSlashComments(Integer slashComments) {
7884
*
7985
* @return an Optional containing the hit parade, or empty if not set
8086
*/
87+
@Override
8188
public Optional<String> getSlashHitParade() {
8289
return Optional.ofNullable(slashHitParade);
8390
}

0 commit comments

Comments
 (0)