Remove modifiers 'public' and 'abstract' from interface methods

These modifiers are unnecessary (default for interface methods).

Change-Id: I5ad21dded21059922fb00449ba44e98037311ac4
This commit is contained in:
Urs Wolfer
2015-11-18 20:42:13 +01:00
committed by Edwin Kempin
parent 1bab069d1e
commit 4ebf42eb2b
80 changed files with 223 additions and 223 deletions

View File

@@ -22,11 +22,11 @@ import com.google.gerrit.extensions.api.projects.Projects;
import com.google.gerrit.extensions.restapi.NotImplementedException;
public interface GerritApi {
public Accounts accounts();
public Changes changes();
public Config config();
public Groups groups();
public Projects projects();
Accounts accounts();
Changes changes();
Config config();
Groups groups();
Projects projects();
/**
* A default implementation which allows source compatibility

View File

@@ -21,9 +21,9 @@ import java.util.EventListener;
/** Listener interested in server startup and shutdown events. */
@ExtensionPoint
public interface LifecycleListener extends EventListener {
/** Invoke when the server is starting. */
public void start();
/** Invoked when the server is starting. */
void start();
/** Invoked when the server is stopping. */
public void stop();
void stop();
}

View File

@@ -35,10 +35,10 @@ public interface UsageDataPublishedListener {
}
public interface MetaData {
public String getName();
public String getUnitName();
public String getUnitSymbol();
public String getDescription();
String getName();
String getUnitName();
String getUnitSymbol();
String getDescription();
}
void onUsageDataPublished(Event event);

View File

@@ -17,5 +17,5 @@ package com.google.gerrit.extensions.registration;
/** Handle for registered information. */
public interface RegistrationHandle {
/** Delete this registration. */
public void remove();
void remove();
}

View File

@@ -18,7 +18,7 @@ import com.google.inject.Key;
import com.google.inject.Provider;
public interface ReloadableRegistrationHandle<T> extends RegistrationHandle {
public Key<T> getKey();
Key<T> getKey();
public RegistrationHandle replace(Key<T> key, Provider<T> item);
RegistrationHandle replace(Key<T> key, Provider<T> item);
}

View File

@@ -18,5 +18,5 @@ package com.google.gerrit.extensions.restapi;
* A view which may change, although the underlying resource did not change
*/
public interface ETagView<R extends RestResource> extends RestReadView<R> {
public String getETag(R rsrc);
String getETag(R rsrc);
}

View File

@@ -30,11 +30,11 @@ public interface RestResource {
* @return time for the Last-Modified header. HTTP truncates the header
* value to seconds.
*/
public Timestamp getLastModified();
Timestamp getLastModified();
}
/** A resource with an ETag. */
public interface HasETag {
public String getETag();
String getETag();
}
}

View File

@@ -29,7 +29,7 @@ public interface UiAction<R extends RestResource> extends RestView<R> {
* assumed unavailable and not presented. This is usually the same as
* {@code setVisible(false)}.
*/
public Description getDescription(R resource);
Description getDescription(R resource);
/** Describes an action invokable through the web interface. */
public static class Description {