ChangeChecker{Impl}: Remove redundant public modifier
Change-Id: I496b1b6d8625b99c69cf704c0dc937a00817e160
diff --git a/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeChecker.java b/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeChecker.java
index 9b2bddf..ce04589 100644
--- a/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeChecker.java
+++ b/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeChecker.java
@@ -29,7 +29,7 @@
* @return notes of the Change
* @throws OrmException if ReviewDb or NoteDb cannot be opened
*/
- public Optional<ChangeNotes> getChangeNotes() throws OrmException;
+ Optional<ChangeNotes> getChangeNotes() throws OrmException;
/**
* Create a new index event POJO associated with the current Change.
@@ -38,7 +38,7 @@
* @throws IOException if the current Change cannot read
* @throws OrmException if ReviewDb cannot be opened
*/
- public Optional<IndexEvent> newIndexEvent() throws IOException, OrmException;
+ Optional<IndexEvent> newIndexEvent() throws IOException, OrmException;
/**
* Check if the local Change is aligned with the indexEvent received.
@@ -48,7 +48,7 @@
* @throws IOException if an I/O error occurred while reading the local Change
* @throws OrmException if the local ReviewDb cannot be opened
*/
- public boolean isChangeUpToDate(Optional<IndexEvent> indexEvent) throws IOException, OrmException;
+ boolean isChangeUpToDate(Optional<IndexEvent> indexEvent) throws IOException, OrmException;
/**
* Return the last computed up-to-date Change time-stamp.
@@ -59,5 +59,5 @@
* @throws IOException if an I/O error occurred while reading the local Change
* @throws OrmException if the local ReviewDb cannot be opened
*/
- public Optional<Long> getComputedChangeTs() throws IOException, OrmException;
+ Optional<Long> getComputedChangeTs() throws IOException, OrmException;
}
diff --git a/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeCheckerImpl.java b/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeCheckerImpl.java
index 88aa5ca..9dca6dd 100644
--- a/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeCheckerImpl.java
+++ b/src/main/java/com/ericsson/gerrit/plugins/highavailability/index/ChangeCheckerImpl.java
@@ -48,7 +48,7 @@
private Optional<ChangeNotes> changeNotes = Optional.empty();
public interface Factory {
- public ChangeChecker create(String changeId);
+ ChangeChecker create(String changeId);
}
@Inject