aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-05-30 09:28:31 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-05-30 09:28:31 +0200
commit2aeedde3a3f946d4ecd4ab5f942e7ed7c841af23 (patch)
tree1e9e8076b09bd3e5bb00624c10aa84586785fd10 /container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java
parent9f8ba0d5208bfcf102b0d9afded28c88f8326151 (diff)
use standard formatting for Override annotation
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java b/container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java
index 11698b2b70d..2dd46b54661 100644
--- a/container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java
+++ b/container-search/src/test/java/com/yahoo/search/query/profile/config/test/QueryProfileIntegrationTestCase.java
@@ -113,7 +113,8 @@ public class QueryProfileIntegrationTestCase extends junit.framework.TestCase {
public static class DefaultSearcher extends Searcher {
- public @Override Result search(Query query,Execution execution) {
+ @Override
+ public Result search(Query query,Execution execution) {
Result result=execution.search(query);
result.hits().add(new Hit("from:default"));
return result;
@@ -123,7 +124,8 @@ public class QueryProfileIntegrationTestCase extends junit.framework.TestCase {
public static class TestSearcher extends Searcher {
- public @Override Result search(Query query,Execution execution) {
+ @Override
+ public Result search(Query query,Execution execution) {
Result result=execution.search(query);
result.hits().add(new Hit("from:test"));
return result;
@@ -135,7 +137,8 @@ public class QueryProfileIntegrationTestCase extends junit.framework.TestCase {
@Provides("SomeObject")
public static class SettingSearcher extends Searcher {
- public @Override Result search(Query query,Execution execution) {
+ @Override
+ public Result search(Query query,Execution execution) {
SomeObject.setTo(query,new SomeObject());
return execution.search(query);
}
@@ -146,7 +149,8 @@ public class QueryProfileIntegrationTestCase extends junit.framework.TestCase {
@After("SomeObject")
public static class ReceivingSearcher extends Searcher {
- public @Override Result search(Query query,Execution execution) {
+ @Override
+ public Result search(Query query,Execution execution) {
assertNotNull(SomeObject.getFrom(query));
assertEquals(SomeObject.class,SomeObject.getFrom(query).getClass());
return execution.search(query);