From e1dbb00ab7e4dd3f92807f984a2556ad52c7dec5 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Wed, 6 Aug 2014 16:35:41 +0200 Subject: [PATCH] [Major] renamed methods --- src/main/java/li/strolch/model/query/OrderQuery.java | 6 +++--- src/main/java/li/strolch/model/query/ResourceQuery.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/li/strolch/model/query/OrderQuery.java b/src/main/java/li/strolch/model/query/OrderQuery.java index 0863781e9..dac4c0d9f 100644 --- a/src/main/java/li/strolch/model/query/OrderQuery.java +++ b/src/main/java/li/strolch/model/query/OrderQuery.java @@ -52,7 +52,7 @@ public class OrderQuery extends StrolchQuery { * @param navigation * @return */ - public static OrderQuery orderQuery(Navigation navigation) { + public static OrderQuery query(Navigation navigation) { return new OrderQuery(navigation, new NoStrategyOrderVisitor()); } @@ -64,7 +64,7 @@ public class OrderQuery extends StrolchQuery { * the type of Order to navigate to * @return */ - public static OrderQuery orderQuery(String type) { + public static OrderQuery query(String type) { return new OrderQuery(new StrolchTypeNavigation(type), new NoStrategyOrderVisitor()); } @@ -78,7 +78,7 @@ public class OrderQuery extends StrolchQuery { * the visitor to use for transformation * @return */ - public static OrderQuery orderQuery(String type, OrderVisitor orderVisitor) { + public static OrderQuery query(String type, OrderVisitor orderVisitor) { return new OrderQuery(new StrolchTypeNavigation(type), orderVisitor); } } diff --git a/src/main/java/li/strolch/model/query/ResourceQuery.java b/src/main/java/li/strolch/model/query/ResourceQuery.java index 5176fe08c..6133b7c5b 100644 --- a/src/main/java/li/strolch/model/query/ResourceQuery.java +++ b/src/main/java/li/strolch/model/query/ResourceQuery.java @@ -58,7 +58,7 @@ public class ResourceQuery extends StrolchQuery { * @param navigation * @return */ - public static ResourceQuery resourceQuery(Navigation navigation) { + public static ResourceQuery query(Navigation navigation) { return new ResourceQuery(navigation, new NoStrategyResourceVisitor()); } @@ -70,7 +70,7 @@ public class ResourceQuery extends StrolchQuery { * the type of {@link Resource} to navigate to * @return */ - public static ResourceQuery resourceQuery(String type) { + public static ResourceQuery query(String type) { return new ResourceQuery(new StrolchTypeNavigation(type), new NoStrategyResourceVisitor()); } @@ -84,7 +84,7 @@ public class ResourceQuery extends StrolchQuery { * the visitor to use for transformation * @return */ - public static ResourceQuery resourceQuery(String type, ResourceVisitor resourceVisitor) { + public static ResourceQuery query(String type, ResourceVisitor resourceVisitor) { return new ResourceQuery(new StrolchTypeNavigation(type), resourceVisitor); } }