Skip to content

Commit

Permalink
chore: synchronize BitBucket and GitHub (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev authored May 29, 2024
1 parent f7e6f96 commit f0e364f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*Test.class</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ch.sbb.polarion.extension.generic.util;

import com.polarion.platform.persistence.IDataService;
import com.polarion.platform.persistence.model.IPObject;
import com.polarion.platform.persistence.model.IPObjectList;
import com.polarion.subterra.base.SubterraURI;
import org.jetbrains.annotations.NotNull;
Expand All @@ -14,13 +15,12 @@
/**
* Used in unit tests for stubbing instances of {@link IPObjectList}
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class PObjectListStub extends ArrayList implements IPObjectList {
public class PObjectListStub<T extends IPObject> extends ArrayList<T> implements IPObjectList<T> {

public PObjectListStub() {
}

public PObjectListStub(@NotNull Collection c) {
public PObjectListStub(@NotNull Collection<? extends T> c) {
super(c);
}

Expand All @@ -31,17 +31,14 @@ public IDataService getDataService() {

@Override
public void resolveAll() {

}

@Override
public void resolveFirst(int i) {

}

@Override
public void resolve(int i, int i1) {

}

@Override
Expand Down

0 comments on commit f0e364f

Please sign in to comment.