Skip to content

Commit

Permalink
Fix spotbugs warning - invalid method name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Sep 11, 2024
1 parent 0945379 commit 9bac8a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ private FormValidation checkCrons(String cron){
return FormValidation.warning(sanity);
}
} catch (IllegalArgumentException e){
return FormValidation.error(Messages.InvalidCrontab(cron));
return FormValidation.error(Messages.invalidCrontab(cron));

Check warning on line 396 in src/main/java/hudson/plugins/disk_usage/DiskUsageProjectActionFactory.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 396 is not covered by tests
}
}
public FormValidation doCheckCountIntervalBuilds(@QueryParameter String value){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DiskUsage.Graph.JobDirectory=job
DiskUsage.Graph.BuildDirectory=builds
DiskUsage.Graph.AgentWorkspaces=agent workspaces
DiskUsage.Graph.NonAgentWorkspaces=non-agent workspaces
InvalidCrontab=Invalid cron {0}
invalidCrontab=Invalid cron {0}

0 comments on commit 9bac8a3

Please sign in to comment.