Skip to content

Commit

Permalink
Fix sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Feb 7, 2021
1 parent ccc88f9 commit e32e470
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ public SchedulingService scheduler()
return this.schedulingService;
}

/**
* @deprecated will be removed in the next version.
*/
@Deprecated
public void report()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import org.apache.logging.log4j.Logger;
import org.itsallcode.whiterabbit.logic.model.DayRecord;

/**
* @deprecated will be removed in the next version.
*/
@Deprecated
public class DayReporter
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public FormatterService(Locale locale, ZoneId timeZoneId)
.withLocale(locale).withZone(timeZoneId);
}

/**
* @deprecated will be removed in the next version.
*/
@Deprecated
public String format(DayRecord day)
{
Expand All @@ -45,6 +48,9 @@ public String format(DayRecord day)
format(day.getOverallOvertime()));
}

/**
* @deprecated will be removed in the next version.
*/
@Deprecated
private String formatDayType(DayType type)
{
Expand Down

0 comments on commit e32e470

Please sign in to comment.