Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename variables as per Codacy review #338

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/main/java/com/hydratereminder/HydrateReminderConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public interface HydrateReminderConfig extends Config
description = "Settings for Hydrate Reminder Notifications",
position = 10
)
String hydrateReminderNotificationsSection = "Hydrate Reminder Notification Settings";
String HYDRATE_REMINDER_NOTIFICATIONS_SECTION = "Hydrate Reminder Notification Settings";

/**
* <p>Separates the animation settings into its own config section
Expand All @@ -78,7 +78,7 @@ public interface HydrateReminderConfig extends Config
description = "Settings for Hydrate Reminder Animations",
position = 20
)
String hydrateReminderAnimationSection = "Hydrate Reminder Animation Settings";
String HYDRATE_REMINDER_ANIMATION_SECTION = "Hydrate Reminder Animation Settings";

/**
* <p>Separates the overlay timer settings into its own config section
Expand All @@ -90,7 +90,7 @@ public interface HydrateReminderConfig extends Config
description = "Settings for Hydrate Reminder Overlay Timer",
position = 30
)
String hydrateReminderTimerSection = "Hydrate Reminder Overlay Timer Settings";
String HYDRATE_REMINDER_TIMER_SECTION = "Hydrate Reminder Overlay Timer Settings";

/**
* <p>Allows the player to enable/disable the hydrate login welcome message
Expand Down Expand Up @@ -143,7 +143,7 @@ default int hydrateReminderInterval()
name = "Chat notification",
description = "Sets the hydrate reminder to be sent as a chat message",
position = 1,
section = hydrateReminderNotificationsSection
section = HYDRATE_REMINDER_NOTIFICATIONS_SECTION
)
default boolean hydrateReminderChatMessageEnabled()
{
Expand All @@ -161,7 +161,7 @@ default boolean hydrateReminderChatMessageEnabled()
name = "Chat type",
description = "Sets the type of chat message sent by hydrate reminder",
position = 2,
section = hydrateReminderNotificationsSection
section = HYDRATE_REMINDER_NOTIFICATIONS_SECTION
)
default HydrateReminderChatMessageType hydrateReminderChatMessageType()
{
Expand All @@ -179,7 +179,7 @@ default HydrateReminderChatMessageType hydrateReminderChatMessageType()
name = "Computer notification",
description = "Sets the hydrate reminder to be sent as a computer notification",
position = 3,
section = hydrateReminderNotificationsSection
section = HYDRATE_REMINDER_NOTIFICATIONS_SECTION
)
default boolean hydrateReminderComputerNotificationEnabled()
{
Expand All @@ -198,7 +198,7 @@ default boolean hydrateReminderComputerNotificationEnabled()
description = "Enables a hydration animation that the player character performs every time the hydration " +
"interval completes",
position = 1,
section = hydrateReminderAnimationSection
section = HYDRATE_REMINDER_ANIMATION_SECTION
)
default boolean hydrateAnimationEnabled()
{
Expand All @@ -216,7 +216,7 @@ default boolean hydrateAnimationEnabled()
name = "Timer Display",
description = "Sets the hydrate reminder to be sent as a computer notification",
position = 1,
section = hydrateReminderTimerSection
section = HYDRATE_REMINDER_TIMER_SECTION
)
default boolean hydrateReminderOverlayTimerEnabled()
{
Expand All @@ -235,7 +235,7 @@ default boolean hydrateReminderOverlayTimerEnabled()
name = "Text Color",
description = "Sets the text color of the timer display",
position = 2,
section = hydrateReminderTimerSection
section = HYDRATE_REMINDER_TIMER_SECTION
)
default Color hydrateReminderOverlayTimerTextColor()
{
Expand All @@ -251,7 +251,7 @@ default Color hydrateReminderOverlayTimerTextColor()
name = "Timer Image",
description = "Sets the background image of the timer display",
position = 3,
section = hydrateReminderTimerSection
section = HYDRATE_REMINDER_TIMER_SECTION
)
default void overlayTimerImageTitle() {
// Shows title above timer image names
Expand All @@ -268,7 +268,7 @@ default void overlayTimerImageTitle() {
name = "Timer Image",
description = "Sets the background image of the timer display",
position = 4,
section = hydrateReminderTimerSection
section = HYDRATE_REMINDER_TIMER_SECTION
)
default HydrateReminderTimerImages hydrateReminderOverlayTimerImage()
{
Expand Down