remove HL Dependency still need to adapt all JSP pages though

This commit is contained in:
Massimiliano Assante 2021-06-08 17:51:56 +02:00
parent c6e827efa3
commit 004859b456
2 changed files with 19 additions and 19 deletions

24
pom.xml
View File

@ -65,6 +65,15 @@
<artifactId>httpclient</artifactId>
<version>4.5.3</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20090211</version>
</dependency>
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>storagehub-icons-library</artifactId>
@ -98,19 +107,8 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>home-library</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>home-library-jcr</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>home-library-model</artifactId>
<scope>provided</scope>
<groupId>org.gcube.core</groupId>
<artifactId>common-encryption</artifactId>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>

View File

@ -2,13 +2,15 @@ package org.gcube.portlets.user.performfish.util.comparators;
import java.util.Comparator;
import org.gcube.common.homelibary.model.versioning.WorkspaceVersion;
import org.gcube.common.storagehubwrapper.shared.tohl.items.WorkspaceVersion;
public class FileVersionComparator implements Comparator<WorkspaceVersion> {
@Override
public int compare(WorkspaceVersion o1, WorkspaceVersion o2) {
return o1.getName().compareTo(o2.getName());
}
public class FileVersionComparator implements Comparator<WorkspaceVersion> {
@Override
public int compare(WorkspaceVersion o1, WorkspaceVersion o2) {
return o1.getName().compareTo(o2.getName());
}
}