Remove modifiers 'public' and 'abstract' from interface methods
These modifiers are unnecessary (default for interface methods). Change-Id: I5ad21dded21059922fb00449ba44e98037311ac4
This commit is contained in:
@@ -23,5 +23,5 @@ interface DatabaseConfigInitializer {
|
||||
* Performs database platform specific configuration steps and writes
|
||||
* configuration parameters into the given database section
|
||||
*/
|
||||
public void initConfig(Section databaseSection);
|
||||
void initConfig(Section databaseSection);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public interface PluginsDistribution {
|
||||
* IOException caused by dealing with the InputStream back to the
|
||||
* caller
|
||||
*/
|
||||
public void process(String pluginName, InputStream in) throws IOException;
|
||||
void process(String pluginName, InputStream in) throws IOException;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,7 +45,7 @@ public interface PluginsDistribution {
|
||||
* @throws IOException in case of any other IO error caused by reading the
|
||||
* plugin input stream
|
||||
*/
|
||||
public void foreach(Processor processor) throws FileNotFoundException, IOException;
|
||||
void foreach(Processor processor) throws FileNotFoundException, IOException;
|
||||
|
||||
/**
|
||||
* List plugins included in the Gerrit distribution
|
||||
@@ -53,5 +53,5 @@ public interface PluginsDistribution {
|
||||
* @throws FileNotFoundException if the location of the plugins couldn't be
|
||||
* determined
|
||||
*/
|
||||
public List<String> listPluginNames() throws FileNotFoundException;
|
||||
List<String> listPluginNames() throws FileNotFoundException;
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@ package com.google.gerrit.pgm.init.api;
|
||||
|
||||
/** A single step in the site initialization process. */
|
||||
public interface InitStep {
|
||||
public void run() throws Exception;
|
||||
void run() throws Exception;
|
||||
|
||||
/** Executed after the site has been initialized */
|
||||
public void postRun() throws Exception;
|
||||
void postRun() throws Exception;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user