Remove modifiers 'public' and 'abstract' from interface methods
These modifiers are unnecessary (default for interface methods). Change-Id: I5ad21dded21059922fb00449ba44e98037311ac4
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user