Skip to content

Commit d688bb2

Browse files
committed
Remove unnecessary DateTimeFormatter variable
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
1 parent a7b93a0 commit d688bb2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

application/src/main/java/org/togetherjava/tjbot/features/rss/RSSHandlerRoutine.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ private void postItem(List<TextChannel> textChannels, Item rssItem, RSSFeed feed
271271
*/
272272
private void updateLastDateToDatabase(RSSFeed feedConfig, @Nullable RssFeedRecord rssFeedRecord,
273273
Instant lastPostedDate) {
274-
DateTimeFormatter dateTimeFormatter =
275-
DateTimeFormatter.ofPattern(feedConfig.dateFormatterPattern());
276274
String lastDateStr = lastPostedDate.toString();
277275

278276
if (rssFeedRecord == null) {

0 commit comments

Comments
 (0)