Make a couple of inner classes static

This might marginally improve the memory consumption,
but the main goal here is to make the code separation
between inner and outer class explicit.
This commit is contained in:
jvoisin
2020-01-11 11:11:20 +01:00
parent dc5a3020d3
commit 43ab59807a
3 changed files with 4 additions and 4 deletions
@@ -182,7 +182,7 @@ public class PlaylistServiceTestImport {
assertEquals(3, mediaFiles.size());
}
private class PersistPlayList implements Answer {
private static class PersistPlayList implements Answer {
private final int id;
public PersistPlayList(int id) {
this.id = id;
@@ -196,7 +196,7 @@ public class PlaylistServiceTestImport {
}
}
private class MediaFileHasEverything implements Answer {
private static class MediaFileHasEverything implements Answer {
@Override
public Object answer(InvocationOnMock invocationOnMock) {