mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
fix: change inner class scope to fix JDK17 exception #457
This commit is contained in:
parent
4bc94dd465
commit
806747d88c
@ -87,7 +87,7 @@ public class MapProcessorDemo implements MapProcessor {
|
||||
@Getter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
private static class SubTask {
|
||||
public static class SubTask {
|
||||
private Integer siteId;
|
||||
private List<Integer> itemIds;
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class MapReduceProcessorDemo implements MapReduceProcessor {
|
||||
@ToString
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
private static class TestSubTask {
|
||||
public static class TestSubTask {
|
||||
private String name;
|
||||
private int age;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user