Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

use static inner class when can #3916

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public MySimplePropertyPreFilter addFilter(String... properties){
}

public MySimplePropertyPreFilter addFilter(Class<?> clazz, String... properties){
MySimplePropertyPreFilter filter = new MySimplePropertyPreFilter(clazz,properties);
MySimplePropertyPreFilter filter = new MySimplePropertyPreFilter(clazz, properties);
filters.add(filter);
return filter;
}
Expand All @@ -44,7 +44,7 @@ public MySimplePropertyPreFilter[] toFilters(){
return filters.toArray(new MySimplePropertyPreFilter[]{});
}

public class MySimplePropertyPreFilter extends SimplePropertyPreFilter {
public static class MySimplePropertyPreFilter extends SimplePropertyPreFilter {

public MySimplePropertyPreFilter(){}

Expand Down