GUAC-969: Test filters can be static.

This commit is contained in:
Michael Jumper
2014-12-27 14:08:27 -08:00
parent fa3ccb9711
commit 46fd8119b9
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public class FilteredGuacamoleReaderTest {
/** /**
* Filter which allows through "yes" instructions but drops all others. * Filter which allows through "yes" instructions but drops all others.
*/ */
private class TestFilter implements GuacamoleFilter { private static class TestFilter implements GuacamoleFilter {
@Override @Override
public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException { public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException {

View File

@@ -40,7 +40,7 @@ public class FilteredGuacamoleWriterTest {
/** /**
* Filter which allows through "yes" instructions but drops all others. * Filter which allows through "yes" instructions but drops all others.
*/ */
private class TestFilter implements GuacamoleFilter { private static class TestFilter implements GuacamoleFilter {
@Override @Override
public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException { public GuacamoleInstruction filter(GuacamoleInstruction instruction) throws GuacamoleException {