Skip to content

Commit

Permalink
Update PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Yauhenikapl committed Sep 24, 2024
1 parent 137dc61 commit ec56f76
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,8 @@ public List<String> getSubmodelNames() {
.collect( Collectors.toList() );
}

private <T> Collector<T, ArrayDeque<T>, ArrayDeque<T>> reverseOrder() {
return Collector.of( ArrayDeque::new, ArrayDeque::addFirst, ( deque1, deque2 ) -> {
deque2.addAll( deque1 );
return deque2;
} );
}

private String iriToReversedHostNameNotation( final IRI iri ) {
URI uri;
final URI uri;
try {
uri = URI.create( iri.toString().contains( "://" ) ? iri.toString() : "https://" + iri );
} catch ( IllegalArgumentException e ) {
Expand Down

0 comments on commit ec56f76

Please sign in to comment.