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

quartz-2.4.x-remove-redundant-public-modifier-from-interface-attributes #1255

Open
wants to merge 1 commit into
base: quartz-2.4.x
Choose a base branch
from
Open
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions quartz/src/main/java/org/quartz/CalendarIntervalTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public interface CalendarIntervalTrigger extends Trigger {
* fired now by <code>Scheduler</code>.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;
int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;
/**
* <p>
* Instructs the <code>{@link Scheduler}</code> that upon a mis-fire
Expand All @@ -68,12 +68,12 @@ public interface CalendarIntervalTrigger extends Trigger {
* but it does not want to be fired now.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_DO_NOTHING = 2;
int MISFIRE_INSTRUCTION_DO_NOTHING = 2;

/**
* <p>Get the interval unit - the time unit on with the interval applies.</p>
*/
public IntervalUnit getRepeatIntervalUnit();
IntervalUnit getRepeatIntervalUnit();

/**
* <p>
Expand All @@ -82,15 +82,15 @@ public interface CalendarIntervalTrigger extends Trigger {
* next trigger repeat.
* </p>
*/
public int getRepeatInterval();
int getRepeatInterval();

/**
* <p>
* Get the number of times the <code>DateIntervalTrigger</code> has already
* fired.
* </p>
*/
public int getTimesTriggered();
int getTimesTriggered();

/**
* <p>
Expand All @@ -102,7 +102,7 @@ public interface CalendarIntervalTrigger extends Trigger {
* If null, the system default TimeZone will be used.
* </p>
*/
public TimeZone getTimeZone();
TimeZone getTimeZone();


/**
Expand Down Expand Up @@ -131,7 +131,7 @@ public interface CalendarIntervalTrigger extends Trigger {
* @see #getStartTime()
* @see #getTimeZone()
*/
public boolean isPreserveHourOfDayAcrossDaylightSavings();
boolean isPreserveHourOfDayAcrossDaylightSavings();

/**
* If intervals are a day or greater, and
Expand All @@ -153,7 +153,7 @@ public interface CalendarIntervalTrigger extends Trigger {
*
* @see #isPreserveHourOfDayAcrossDaylightSavings()
*/
public boolean isSkipDayIfHourDoesNotExist();
boolean isSkipDayIfHourDoesNotExist();


TriggerBuilder<CalendarIntervalTrigger> getTriggerBuilder();
Expand Down
12 changes: 6 additions & 6 deletions quartz/src/main/java/org/quartz/CronTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
*/
public interface CronTrigger extends Trigger {

public static final long serialVersionUID = -8644953146451592766L;
long serialVersionUID = -8644953146451592766L;

/**
* <p>
Expand All @@ -180,7 +180,7 @@ public interface CronTrigger extends Trigger {
* by <code>Scheduler</code>.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;
int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;

/**
* <p>
Expand All @@ -191,19 +191,19 @@ public interface CronTrigger extends Trigger {
* but it does not want to be fired now.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_DO_NOTHING = 2;
int MISFIRE_INSTRUCTION_DO_NOTHING = 2;

public String getCronExpression();
String getCronExpression();

/**
* <p>
* Returns the time zone for which the <code>cronExpression</code> of
* this <code>CronTrigger</code> will be resolved.
* </p>
*/
public TimeZone getTimeZone();
TimeZone getTimeZone();

public String getExpressionSummary();
String getExpressionSummary();

TriggerBuilder<CronTrigger> getTriggerBuilder();
}
22 changes: 11 additions & 11 deletions quartz/src/main/java/org/quartz/DailyTimeIntervalTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public interface DailyTimeIntervalTrigger extends Trigger {
* ending timestamp.
* </p>
*/
public static final int REPEAT_INDEFINITELY = -1;
int REPEAT_INDEFINITELY = -1;

/**
* <p>
Expand All @@ -69,7 +69,7 @@ public interface DailyTimeIntervalTrigger extends Trigger {
* fired now by <code>Scheduler</code>.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;
int MISFIRE_INSTRUCTION_FIRE_ONCE_NOW = 1;

/**
* <p>
Expand All @@ -80,15 +80,15 @@ public interface DailyTimeIntervalTrigger extends Trigger {
* but it does not want to be fired now.
* </p>
*/
public static final int MISFIRE_INSTRUCTION_DO_NOTHING = 2;
int MISFIRE_INSTRUCTION_DO_NOTHING = 2;

/**
* <p>Get the interval unit - the time unit on with the interval applies.</p>
*
* <p>The only intervals that are valid for this type of trigger are {@link IntervalUnit#SECOND},
* {@link IntervalUnit#MINUTE}, and {@link IntervalUnit#HOUR}.</p>
*/
public IntervalUnit getRepeatIntervalUnit();
IntervalUnit getRepeatIntervalUnit();

/**
* <p>
Expand All @@ -98,7 +98,7 @@ public interface DailyTimeIntervalTrigger extends Trigger {
*
* @see #REPEAT_INDEFINITELY
*/
public int getRepeatCount();
int getRepeatCount();

/**
* <p>
Expand All @@ -107,33 +107,33 @@ public interface DailyTimeIntervalTrigger extends Trigger {
* next trigger repeat.
* </p>
*/
public int getRepeatInterval();
int getRepeatInterval();

/**
* The time of day to start firing at the given interval.
*/
public TimeOfDay getStartTimeOfDay();
TimeOfDay getStartTimeOfDay();

/**
* The time of day to complete firing at the given interval.
*/
public TimeOfDay getEndTimeOfDay();
TimeOfDay getEndTimeOfDay();

/**
* The days of the week upon which to fire.
*
* @return a Set containing the integers representing the days of the week, per the values 1-7 as defined by
* {@link java.util.Calendar#SUNDAY} - {@link java.util.Calendar#SATURDAY}.
*/
public Set<Integer> getDaysOfWeek();
Set<Integer> getDaysOfWeek();

/**
* <p>
* Get the number of times the <code>DateIntervalTrigger</code> has already
* fired.
* </p>
*/
public int getTimesTriggered();
int getTimesTriggered();

public TriggerBuilder<DailyTimeIntervalTrigger> getTriggerBuilder();
TriggerBuilder<DailyTimeIntervalTrigger> getTriggerBuilder();
}
20 changes: 10 additions & 10 deletions quartz/src/main/java/org/quartz/JobDetail.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*/
public interface JobDetail extends Serializable, Cloneable {

public JobKey getKey();
JobKey getKey();

/**
* <p>
Expand All @@ -59,21 +59,21 @@ public interface JobDetail extends Serializable, Cloneable {
*
* @return null if no description was set.
*/
public String getDescription();
String getDescription();

/**
* <p>
* Get the instance of <code>Job</code> that will be executed.
* </p>
*/
public Class<? extends Job> getJobClass();
Class<? extends Job> getJobClass();

/**
* <p>
* Get the <code>JobDataMap</code> that is associated with the <code>Job</code>.
* </p>
*/
public JobDataMap getJobDataMap();
JobDataMap getJobDataMap();

/**
* <p>
Expand All @@ -88,19 +88,19 @@ public interface JobDetail extends Serializable, Cloneable {
* @return <code>true</code> if the Job should remain persisted after
* being orphaned.
*/
public boolean isDurable();
boolean isDurable();

/**
* @see PersistJobDataAfterExecution
* @return whether the associated Job class carries the {@link PersistJobDataAfterExecution} annotation.
*/
public boolean isPersistJobDataAfterExecution();
boolean isPersistJobDataAfterExecution();

/**
* @see DisallowConcurrentExecution
* @return whether the associated Job class carries the {@link DisallowConcurrentExecution} annotation.
*/
public boolean isConcurrentExectionDisallowed();
boolean isConcurrentExectionDisallowed();

/**
* <p>
Expand All @@ -115,14 +115,14 @@ public interface JobDetail extends Serializable, Cloneable {
*
* @see JobExecutionContext#isRecovering()
*/
public boolean requestsRecovery();
boolean requestsRecovery();

public Object clone();
Object clone();

/**
* Get a {@link JobBuilder} that is configured to produce a
* <code>JobDetail</code> identical to this one.
*/
public JobBuilder getJobBuilder();
JobBuilder getJobBuilder();

}
Loading