test_class.file: vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/impl/PackagePropertiesImplTest.java
test_class.identifier: PackagePropertiesImplTest
test_case.body: @Test
      public void testGetNotSetDependenciesLocations() throws URISyntaxException {
          PackageProperties packageProperties = new SimplePackageProperties(Collections.emptyMap());
          Assert.assertThat(packageProperties.getDependenciesLocations(), Matchers.equalTo(Collections.emptyMap()));
      }
test_case.class_method_signature: PackagePropertiesImplTest.testGetNotSetDependenciesLocations()
test_case.full_signature: @Test public void testGetNotSetDependenciesLocations()
test_case.identifier: testGetNotSetDependenciesLocations
test_case.invocations: emptyMap assertThat getDependenciesLocations equalTo emptyMap
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetNotSetDependenciesLocations()
focal_class.declarator: log = LoggerFactory.getLogger(PackagePropertiesImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(PackagePropertiesImpl.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: id
focal_class.modifier: private
focal_class.original_string: private PackageId id;
focal_class.type: PackageId
focal_class.var_name: id
focal_class.file: vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/PackagePropertiesImpl.java
focal_class.identifier: PackagePropertiesImpl
focal_class.interfaces: implements PackageProperties
focal_class.class_method_signature: PackagePropertiesImpl.getId()
focal_class.full_signature: @Override public PackageId getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PackageId
focal_class.signature: PackageId getId()
focal_class.class_method_signature: PackagePropertiesImpl.getLastModified()
focal_class.full_signature: @Override public Calendar getLastModified()
focal_class.identifier: getLastModified
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getLastModified()
focal_class.class_method_signature: PackagePropertiesImpl.getLastModifiedBy()
focal_class.full_signature: @Override public String getLastModifiedBy()
focal_class.identifier: getLastModifiedBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLastModifiedBy()
focal_class.class_method_signature: PackagePropertiesImpl.getCreated()
focal_class.full_signature: @Override public Calendar getCreated()
focal_class.identifier: getCreated
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getCreated()
focal_class.class_method_signature: PackagePropertiesImpl.getCreatedBy()
focal_class.full_signature: @Override public String getCreatedBy()
focal_class.identifier: getCreatedBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCreatedBy()
focal_class.class_method_signature: PackagePropertiesImpl.getLastWrapped()
focal_class.full_signature: @Override public Calendar getLastWrapped()
focal_class.identifier: getLastWrapped
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getLastWrapped()
focal_class.class_method_signature: PackagePropertiesImpl.getLastWrappedBy()
focal_class.full_signature: @Override public String getLastWrappedBy()
focal_class.identifier: getLastWrappedBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLastWrappedBy()
focal_class.class_method_signature: PackagePropertiesImpl.getDescription()
focal_class.full_signature: @Override public String getDescription()
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDescription()
focal_class.class_method_signature: PackagePropertiesImpl.getACHandling()
focal_class.full_signature: @Override public AccessControlHandling getACHandling()
focal_class.identifier: getACHandling
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AccessControlHandling
focal_class.signature: AccessControlHandling getACHandling()
focal_class.class_method_signature: PackagePropertiesImpl.getSubPackageHandling()
focal_class.full_signature: @Override public SubPackageHandling getSubPackageHandling()
focal_class.identifier: getSubPackageHandling
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SubPackageHandling
focal_class.signature: SubPackageHandling getSubPackageHandling()
focal_class.class_method_signature: PackagePropertiesImpl.requiresRoot()
focal_class.full_signature: @Override public boolean requiresRoot()
focal_class.identifier: requiresRoot
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean requiresRoot()
focal_class.class_method_signature: PackagePropertiesImpl.getDependencies()
focal_class.full_signature: @Override public Dependency[] getDependencies()
focal_class.identifier: getDependencies
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Dependency[]
focal_class.signature: Dependency[] getDependencies()
focal_class.class_method_signature: PackagePropertiesImpl.getDependenciesLocations()
focal_class.full_signature: @Override public Map<PackageId, URI> getDependenciesLocations()
focal_class.identifier: getDependenciesLocations
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<PackageId, URI>
focal_class.signature: Map<PackageId, URI> getDependenciesLocations()
focal_class.class_method_signature: PackagePropertiesImpl.getDateProperty(String name)
focal_class.full_signature: @Override public Calendar getDateProperty(String name)
focal_class.identifier: getDateProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Calendar
focal_class.signature: Calendar getDateProperty(String name)
focal_class.class_method_signature: PackagePropertiesImpl.getProperty(String name)
focal_class.full_signature: @Override public String getProperty(String name)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getProperty(String name)
focal_class.class_method_signature: PackagePropertiesImpl.getPackageType()
focal_class.full_signature: @Nullable @Override public PackageType getPackageType()
focal_class.identifier: getPackageType
focal_class.modifiers: @Nullable @Override public
focal_class.parameters: ()
focal_class.return: PackageType
focal_class.signature: PackageType getPackageType()
focal_class.class_method_signature: PackagePropertiesImpl.getExternalHooks()
focal_class.full_signature: @Override public Map<String, String> getExternalHooks()
focal_class.identifier: getExternalHooks
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getExternalHooks()
focal_class.class_method_signature: PackagePropertiesImpl.getPropertiesMap()
focal_class.full_signature: protected abstract Properties getPropertiesMap()
focal_class.identifier: getPropertiesMap
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getPropertiesMap()
focal_method.body: @Override
      public Map<PackageId, URI> getDependenciesLocations() {
          String deps = getProperty(NAME_DEPENDENCIES_LOCATIONS);
          if (deps == null || deps.length() == 0) {
              return Collections.emptyMap();
          } else {
              // parse item in the format <pid>=<uri>, items are comma separated
              Map<PackageId, URI> dependenciesLocations = new HashMap<>();
              for (String item : deps.split(",")) {
                  String[] parts = item.split("=", 2);
                  if (parts.length < 2) {
                      log.error("Invalid dependencies locations string, item " +item + " does not contain a '='");
                  } else {
                      PackageId packageId = PackageId.fromString(parts[0]);
                      if (packageId == null) {
                          log.error("Invalid package id given in item " + item);
                          continue;
                      }
                      try {
                          URI uri = new URI(parts[1]);
                          dependenciesLocations.put(packageId, uri);
                      } catch (URISyntaxException e) {
                          log.error("Invalid uri given in item " + item);
                      }
                      
                  }
              }
              return dependenciesLocations;
          }
      }
focal_method.class_method_signature: PackagePropertiesImpl.getDependenciesLocations()
focal_method.full_signature: @Override public Map<PackageId, URI> getDependenciesLocations()
focal_method.identifier: getDependenciesLocations
focal_method.invocations: getProperty length emptyMap split split error fromString error put error
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Map<PackageId, URI>
focal_method.signature: Map<PackageId, URI> getDependenciesLocations()