test_class.file: common/src/test/java/org/apache/ivory/entity/FeedHelperTest.java
test_class.identifier: FeedHelperTest
test_case.body: @Test
      public void testPartitionExpression() {
          Assert.assertEquals(FeedHelper.normalizePartitionExpression(" /a// ", "  /b// "), "a/b");
          Assert.assertEquals(FeedHelper.normalizePartitionExpression(null, "  /b// "), "b");
          Assert.assertEquals(FeedHelper.normalizePartitionExpression(null, null), "");
      }
test_case.class_method_signature: FeedHelperTest.testPartitionExpression()
test_case.full_signature: @Test public void testPartitionExpression()
test_case.identifier: testPartitionExpression
test_case.invocations: assertEquals normalizePartitionExpression assertEquals normalizePartitionExpression assertEquals normalizePartitionExpression
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPartitionExpression()
focal_class.file: common/src/main/java/org/apache/ivory/entity/FeedHelper.java
focal_class.identifier: FeedHelper
focal_class.class_method_signature: FeedHelper.getCluster(Feed feed, String clusterName)
focal_class.full_signature: public static Cluster getCluster(Feed feed, String clusterName)
focal_class.identifier: getCluster
focal_class.modifiers: public static
focal_class.parameters: (Feed feed, String clusterName)
focal_class.return: Cluster
focal_class.signature: Cluster getCluster(Feed feed, String clusterName)
focal_class.class_method_signature: FeedHelper.getLocation(Feed feed, LocationType type,
  			String clusterName)
focal_class.full_signature: public static Location getLocation(Feed feed, LocationType type,
  			String clusterName)
focal_class.identifier: getLocation
focal_class.modifiers: public static
focal_class.parameters: (Feed feed, LocationType type,
  			String clusterName)
focal_class.return: Location
focal_class.signature: Location getLocation(Feed feed, LocationType type,
  			String clusterName)
focal_class.class_method_signature: FeedHelper.getLocation(Feed feed, LocationType type)
focal_class.full_signature: public static Location getLocation(Feed feed, LocationType type)
focal_class.identifier: getLocation
focal_class.modifiers: public static
focal_class.parameters: (Feed feed, LocationType type)
focal_class.return: Location
focal_class.signature: Location getLocation(Feed feed, LocationType type)
focal_class.class_method_signature: FeedHelper.getLocation(Locations locations, LocationType type)
focal_class.full_signature: public static Location getLocation(Locations locations, LocationType type)
focal_class.identifier: getLocation
focal_class.modifiers: public static
focal_class.parameters: (Locations locations, LocationType type)
focal_class.return: Location
focal_class.signature: Location getLocation(Locations locations, LocationType type)
focal_class.class_method_signature: FeedHelper.normalizePartitionExpression(String part1, String part2)
focal_class.full_signature: public static String normalizePartitionExpression(String part1, String part2)
focal_class.identifier: normalizePartitionExpression
focal_class.modifiers: public static
focal_class.parameters: (String part1, String part2)
focal_class.return: String
focal_class.signature: String normalizePartitionExpression(String part1, String part2)
focal_class.class_method_signature: FeedHelper.normalizePartitionExpression(String partition)
focal_class.full_signature: public static String normalizePartitionExpression(String partition)
focal_class.identifier: normalizePartitionExpression
focal_class.modifiers: public static
focal_class.parameters: (String partition)
focal_class.return: String
focal_class.signature: String normalizePartitionExpression(String partition)
focal_class.class_method_signature: FeedHelper.loadClusterProperties(org.apache.ivory.entity.v0.cluster.Cluster cluster)
focal_class.full_signature: private static Properties loadClusterProperties(org.apache.ivory.entity.v0.cluster.Cluster cluster)
focal_class.identifier: loadClusterProperties
focal_class.modifiers: private static
focal_class.parameters: (org.apache.ivory.entity.v0.cluster.Cluster cluster)
focal_class.return: Properties
focal_class.signature: Properties loadClusterProperties(org.apache.ivory.entity.v0.cluster.Cluster cluster)
focal_class.class_method_signature: FeedHelper.evaluateClusterExp(org.apache.ivory.entity.v0.cluster.Cluster clusterEntity, String exp)
focal_class.full_signature: public static String evaluateClusterExp(org.apache.ivory.entity.v0.cluster.Cluster clusterEntity, String exp)
focal_class.identifier: evaluateClusterExp
focal_class.modifiers: public static
focal_class.parameters: (org.apache.ivory.entity.v0.cluster.Cluster clusterEntity, String exp)
focal_class.return: String
focal_class.signature: String evaluateClusterExp(org.apache.ivory.entity.v0.cluster.Cluster clusterEntity, String exp)
focal_method.body: public static String normalizePartitionExpression(String part1, String part2) {
          String partExp = StringUtils.stripToEmpty(part1) + "/" + StringUtils.stripToEmpty(part2);
          partExp = partExp.replaceAll("//+", "/");
          partExp = StringUtils.stripStart(partExp, "/");
          partExp = StringUtils.stripEnd(partExp, "/");
          return partExp;
      }
focal_method.class_method_signature: FeedHelper.normalizePartitionExpression(String part1, String part2)
focal_method.full_signature: public static String normalizePartitionExpression(String part1, String part2)
focal_method.identifier: normalizePartitionExpression
focal_method.invocations: stripToEmpty stripToEmpty replaceAll stripStart stripEnd
focal_method.modifiers: public static
focal_method.parameters: (String part1, String part2)
focal_method.return: String
focal_method.signature: String normalizePartitionExpression(String part1, String part2)