Dropping unnecessary public modifiers

This commit is contained in:
Josh Soref committed 2019-02-20 18:59:20 -05:00
1 parent 0dc8a22d3f
commit adcfcedd7b
5 files changed
+8 -8

No files matched your search

@@ -38,5 +38,5 @@ public interface ModifiableViewGroup extends ViewGroup {
/**
* Add new {@link View} to this {@link ViewGroup}.
*/
public void addView(@Nonnull View view) throws IOException;
void addView(@Nonnull View view) throws IOException;
}
@@ -20,5 +20,5 @@ public interface ModelObjectWithChildren extends ModelObject {
/**
* Generates the context menu to list up all the children.
*/
public ContextMenu doChildrenContextMenu(StaplerRequest request, StaplerResponse response) throws Exception;
ContextMenu doChildrenContextMenu(StaplerRequest request, StaplerResponse response) throws Exception;
}
@@ -53,7 +53,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
* which implements the default behaviour. See {@link ContextMenu#from(ModelObjectWithContextMenu, StaplerRequest, StaplerResponse)}
* for more details of what it does. This should suit most implementations.
*/
public ContextMenu doContextMenu(StaplerRequest request, StaplerResponse response) throws Exception;
ContextMenu doContextMenu(StaplerRequest request, StaplerResponse response) throws Exception;
/**
* Data object that represents the context menu.
@@ -61,7 +61,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
* Via {@link HttpResponse}, this class is capable of converting itself to JSON that {@code <l:breadcrumb/>} understands.
*/
@ExportedBean
public class ContextMenu implements HttpResponse {
class ContextMenu implements HttpResponse {
/**
* The actual contents of the menu.
*/
@@ -225,7 +225,7 @@ public interface ModelObjectWithContextMenu extends ModelObject {
* Menu item in {@link ContextMenu}
*/
@ExportedBean
public class MenuItem {
class MenuItem {
/**
* Target of the link.
*
@@ -84,7 +84,7 @@ public interface CustomClassFilter extends ExtensionPoint {
*/
@Restricted(NoExternalUse.class)
@Extension
public class Static implements CustomClassFilter {
class Static implements CustomClassFilter {
/**
* Map from {@link Class#getName} to true to permit, false to reject.
@@ -132,7 +132,7 @@ public interface CustomClassFilter extends ExtensionPoint {
*/
@Restricted(NoExternalUse.class)
@Extension
public class Contributed implements CustomClassFilter {
class Contributed implements CustomClassFilter {
/**
* Map from {@link Class#getName} to true to permit, false to reject.
@@ -105,7 +105,7 @@ public interface SimpleBuildStep extends BuildStep {
@SuppressWarnings("rawtypes")
@Restricted(NoExternalUse.class)
@Extension
public static final class LastBuildActionFactory extends TransientActionFactory<Job> {
final class LastBuildActionFactory extends TransientActionFactory<Job> {
@Override
public Class<Job> type() {