GUAC-969: Test filters can be static.
This commit is contained in:
1 parent
fa3ccb9711
commit
46fd8119b9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ public class FilteredGuacamoleReaderTest {
|
||||
/**
|
||||
* Filter which allows through "yes" instructions but drops all others.
|
||||
*/
|
||||
private class TestFilter implements GuacamoleFilter {
|
||||
private static class TestFilter implements GuacamoleFilter {
|
||||
|
||||
@Override
|
||||
public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException {
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ public class FilteredGuacamoleWriterTest {
|
||||
/**
|
||||
* Filter which allows through "yes" instructions but drops all others.
|
||||
*/
|
||||
private class TestFilter implements GuacamoleFilter {
|
||||
private static class TestFilter implements GuacamoleFilter {
|
||||
|
||||
@Override
|
||||
public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException {
|
||||
|
||||
Reference in new issue
Block a user