提交 adcfcedd 编写于 作者: J Josh Soref

Dropping unnecessary public modifiers

上级 0dc8a22d
......@@ -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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册