Skip to content

Commit

Permalink
[#134] Fix connector runtime
Browse files Browse the repository at this point in the history
* import required packages
* accept null for revision adapter
  • Loading branch information
ruspl-afed authored and eparovyshnaya committed Jan 10, 2025
1 parent bd3f365 commit 3b22fca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions bundles/ru.arsysop.svn.connector.svnkit1_10/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Bundle-RequiredExecutionEnvironment: JavaSE-11
Import-Package: de.regnis.q.sequence.line;version="1.0.4",
net.jpountz.lz4,
net.jpountz.util,
net.jpountz.util.darwin.x86_64,
net.jpountz.util.linux.aarch64,
net.jpountz.util.linux.amd64,
net.jpountz.util.linux.i386,
net.jpountz.util.linux.ppc64le,
net.jpountz.util.linux.s390x,
net.jpountz.util.win32.amd64,
net.jpountz.xxhash,
org.antlr.runtime;version="[3.5.0,4.0.0)",
org.apache.subversion.javahl;version="1.10.11",
org.apache.subversion.javahl.callback;version="1.10.11",
org.apache.subversion.javahl.types;version="1.10.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
import org.apache.subversion.javahl.types.Revision;
import org.eclipse.team.svn.core.connector.SVNRevision;

import ru.arsysop.svn.connector.internal.adapt.SvnTypeConstructor;
import ru.arsysop.svn.connector.internal.adapt.SvnNullableConstructor;

public final class RevisionAdapter extends SvnTypeConstructor<SVNRevision, Revision> {
public final class RevisionAdapter extends SvnNullableConstructor<SVNRevision, Revision> {

public RevisionAdapter(SVNRevision revision) {
super(revision);
}

@Override
public org.apache.subversion.javahl.types.Revision adapt() {
public org.apache.subversion.javahl.types.Revision adapt(SVNRevision source) {
switch (source.getKind()) {
case BASE:
return org.apache.subversion.javahl.types.Revision.BASE;
Expand Down

0 comments on commit 3b22fca

Please sign in to comment.