Skip to content

Commit

Permalink
Use code from library instead of from <Command-v>
Browse files Browse the repository at this point in the history
  • Loading branch information
ties committed Oct 9, 2023
1 parent ab67639 commit a501c3f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ plugins {
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'

apply from: "dependencies.gradle"

group = 'net.ripe.rpki'
version = '0.0.1-SNAPSHOT'

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/ripe/rpki/rsyncit/rrdp/RrdpFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import net.ripe.rpki.commons.crypto.crl.X509Crl;
import net.ripe.rpki.commons.crypto.x509cert.X509ResourceCertificateParser;
import net.ripe.rpki.commons.util.RepositoryObjectType;
import net.ripe.rpki.commons.util.XML;
import net.ripe.rpki.commons.validation.ValidationResult;
import net.ripe.rpki.rsyncit.config.Config;
import net.ripe.rpki.rsyncit.util.Sha256;
import net.ripe.rpki.rsyncit.util.Time;
import net.ripe.rpki.rsyncit.util.XML;
import org.joda.time.DateTime;
import org.springframework.http.HttpRequest;
import org.springframework.web.reactive.function.client.WebClient;
Expand Down Expand Up @@ -128,7 +128,7 @@ FetchResult processNotificationXml(byte[] notificationBytes, Function<String, Do
if (notificationBytes == null || notificationBytes.length == 0) {
throw new NotificationStructureException("Empty notification file.");
}
final DocumentBuilder documentBuilder = XML.newDocumentBuilder();
final DocumentBuilder documentBuilder = XML.newNonNamespaceAwareDocumentBuilder();
final Document notificationXmlDoc = documentBuilder.parse(new ByteArrayInputStream(notificationBytes));

var notification = validateNotificationStructure(notificationXmlDoc);
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/net/ripe/rpki/rsyncit/util/XML.java

This file was deleted.

0 comments on commit a501c3f

Please sign in to comment.